@switchbot/homebridge-switchbot 3.8.3-beta.22 → 3.8.3-beta.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,12 +41,14 @@ jobs:
41
41
  [How To Test Beta Releases](https://github.com/OpenWonderLabs/homebridge-switchbot/wiki/Beta-Version)
42
42
 
43
43
  github-releases-to-discord:
44
- needs: [publish, pre-release]
44
+ name: Discord Webhooks
45
+ needs: [build_and_test,publish]
45
46
  if: ${{ github.repository == 'OpenWonderLabs/homebridge-switchbot' }}
46
47
  uses: OpenWonderLabs/.github/.github/workflows/discord-webhooks.yml@latest
47
48
  with:
48
- release-version: ${{ needs.publish.outputs.NPM_VERSION }}
49
- message_title: "SwitchBot"
50
- message_url: "https://github.com/OpenWonderLabs/homebridge-switchbot/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
49
+ title: "SwitchBot Beta Release"
50
+ description: |
51
+ Version `v${{ needs.publish.outputs.NPM_VERSION }}`
52
+ url: "https://github.com/homebridge/camera-utils/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
51
53
  secrets:
52
- DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL_BETA }}
54
+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_BETA || secrets.DISCORD_WEBHOOK_URL_LATEST }}
@@ -22,16 +22,17 @@ jobs:
22
22
  npm_auth_token: ${{ secrets.npm_token }}
23
23
 
24
24
  github-releases-to-discord:
25
- needs: publish
26
-
25
+ name: Discord Webhooks
26
+ needs: [build_and_test,publish]
27
27
  if: ${{ github.repository == 'OpenWonderLabs/homebridge-switchbot' }}
28
-
29
28
  uses: OpenWonderLabs/.github/.github/workflows/discord-webhooks.yml@latest
30
29
  with:
31
- message_title: "SwitchBot"
32
- message_url: "https://github.com/OpenWonderLabs/homebridge-switchbot/releases/latest"
30
+ title: "SwitchBot Beta Release"
31
+ description: |
32
+ Version `v${{ needs.publish.outputs.NPM_VERSION }}`
33
+ url: "https://github.com/homebridge/camera-utils/releases/tag/v${{ needs.publish.outputs.NPM_VERSION }}"
33
34
  secrets:
34
- DISCORD_WEBHOOK_URL_LATEST: ${{ secrets.DISCORD_WEBHOOK_URL_LATEST }}
35
+ DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL_BETA || secrets.DISCORD_WEBHOOK_URL_LATEST }}
35
36
 
36
37
 
37
38
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@switchbot/homebridge-switchbot",
3
3
  "displayName": "SwitchBot",
4
4
  "type": "module",
5
- "version": "3.8.3-beta.22",
5
+ "version": "3.8.3-beta.23",
6
6
  "description": "The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.",
7
7
  "author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)",
8
8
  "contributors": [