@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
|
-
|
|
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
|