@boozilla/homebridge-shome 1.2.5 → 1.2.6

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.
@@ -102,9 +102,12 @@ jobs:
102
102
  if: inputs.version_type == 'none'
103
103
  run: |
104
104
  VERSION=${{ steps.get_version.outputs.version }}
105
- if ! git rev-parse "v$VERSION" >/dev/null 2>&1; then
105
+ # Check if tag exists on remote
106
+ if ! git ls-remote --tags origin | grep -q "refs/tags/v$VERSION$"; then
106
107
  git tag "v$VERSION"
107
108
  git push origin "v$VERSION"
109
+ else
110
+ echo "Tag v$VERSION already exists on remote, skipping"
108
111
  fi
109
112
 
110
113
  - name: Summary
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boozilla/homebridge-shome",
3
3
  "displayName": "sHome Plugin",
4
- "version": "1.2.5",
4
+ "version": "1.2.6",
5
5
  "private": false,
6
6
  "description": "A Homebridge plugin for Samsung Smart Home",
7
7
  "author": "boozilla",