We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a92b5a9 commit d044a38Copy full SHA for d044a38
.github/workflows/update-version.yml
@@ -1,9 +1,10 @@
1
name: Update Manifest Version
2
3
-# Trigger this workflow whenever a new release is published on GitHub
+# Trigger when a new tag is pushed that starts with 'v'
4
on:
5
- release:
6
- types: [published]
+ push:
+ tags:
7
+ - 'v*'
8
9
jobs:
10
update-version:
@@ -29,5 +30,5 @@ jobs:
29
30
git config user.name "github-actions[bot]"
31
git config user.email "github-actions[bot]@users.noreply.github.com"
32
git add custom_components/ha_pocketsmith/manifest.json
- git commit -m "Bump version to ${GITHUB_REF_NAME}"
33
+ git commit -m "chore: bump version to ${GITHUB_REF_NAME}"
34
git push
0 commit comments