homebridge-securitysystem 8.1.0 → 8.1.1-beta.2

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.
@@ -18,7 +18,7 @@ changelog:
18
18
  labels:
19
19
  - feature
20
20
 
21
- - title: 💅 Enhancements
21
+ - title: Enhancements
22
22
  labels:
23
23
  - enhancement
24
24
 
@@ -29,16 +29,20 @@ jobs:
29
29
  - name: Checkout branch
30
30
  uses: actions/checkout@v4
31
31
 
32
+ - name: Setup node
33
+ uses: actions/setup-node@v4.0.1
34
+
32
35
  - name: Create tag name
33
- uses: MiguelRipoll23/create-tag-name@v2.1.0
36
+ uses: MiguelRipoll23/create-tag-name@v2.1.1
34
37
  id: create-tag-name
35
38
  with:
36
39
  channel: ${{ inputs.channel }}
37
40
 
38
41
  - name: Update version
39
- uses: reedyuk/npm-version@1.2.2
40
- with:
41
- version: ${{ steps.create-tag-name.outputs.tag-name }}
42
+ run: |
43
+ npm version --no-git-tag-version ${{ env.TAG_NAME }}
44
+ env:
45
+ TAG_NAME: ${{ steps.create-tag-name.outputs.tag-name }}
42
46
 
43
47
  - name: Create pull request
44
48
  uses: peter-evans/create-pull-request@v6
@@ -15,26 +15,33 @@ jobs:
15
15
  create-tag:
16
16
  name: Create tag
17
17
  runs-on: ubuntu-latest
18
+
18
19
  if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'new-release')
20
+
19
21
  outputs:
20
- tag-name: ${{ steps.prepare-tag.outputs.tag-name }}
22
+ tag-name: ${{ steps.get-tag-name.outputs.tag-name }}
23
+
21
24
  steps:
22
- - name: Parse tag
23
- id: prepare-tag
25
+ - name: Checkout branch
26
+ uses: actions/checkout@v4
27
+
28
+ - name: Get tag name
29
+ id: get-tag-name
24
30
  run: |
25
31
  branch_name="${{ github.event.pull_request.head.ref }}"
26
32
  tag_name=$(echo $branch_name | sed 's/version\///')
27
33
  echo "tag-name=$tag_name" >> $GITHUB_OUTPUT
28
34
 
29
- - name: Checkout branch
30
- uses: actions/checkout@v4
31
-
32
35
  - name: Create tag
33
36
  run: |
34
- git tag "${{ steps.prepare-tag.outputs.tag-name }}"
37
+ git tag "${{ env.TAG_NAME }}"
38
+ env:
39
+ TAG_NAME: ${{ steps.get-tag-name.outputs.tag-name }}
35
40
 
36
41
  - name: Push tag to origin
37
- run: git push origin "${{ steps.prepare-tag.outputs.tag-name }}"
42
+ run: git push origin "${{ env.TAG_NAME }}"
43
+ env:
44
+ TAG_NAME: ${{ steps.get-tag-name.outputs.tag-name }}
38
45
 
39
46
  create-release:
40
47
  name: Create release
@@ -58,7 +65,7 @@ jobs:
58
65
  needs: [create-tag, create-release]
59
66
 
60
67
  steps:
61
- - name: Checkout repository
68
+ - name: Checkout branch
62
69
  uses: actions/checkout@v4
63
70
 
64
71
  - name: Setup node
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-securitysystem",
3
3
  "displayName": "Homebridge Security System",
4
- "version": "8.1.0",
4
+ "version": "8.1.1-beta.2",
5
5
  "description": "Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.",
6
6
  "main": "src/index.js",
7
7
  "scripts": {