We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bdbbfd8 + 330c0eb commit 8a57f5aCopy full SHA for 8a57f5a
1 file changed
.github/workflows/bump.yml
@@ -25,7 +25,8 @@ jobs:
25
run: |
26
npm version minor --force -m "Version %s"
27
git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
28
- git push gh-origin HEAD:main --tags
+ git push gh-origin HEAD:main --tags == 1 || tag_exists=1
29
+ if [ ${tag_exists:-0} -eq 1 ]; then echo "Tag already exists, continuing on"; fi
30
version=$(npm run env | grep npm_package_version | cut -d '=' -f 2)
31
echo "version=$version" >> $GITHUB_ENV
32
env:
0 commit comments