We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add3cbb commit cf14daeCopy full SHA for cf14dae
1 file changed
.github/workflows/release.yml
@@ -89,7 +89,11 @@ jobs:
89
else
90
git commit -m "chore(release): v${NEW_VERSION}"
91
fi
92
- git tag -a "v${NEW_VERSION}" -m "Release v${NEW_VERSION}"
+ if git rev-parse "v${NEW_VERSION}" >/dev/null 2>&1; then
93
+ echo "Tag v${NEW_VERSION} already exists, skipping"
94
+ else
95
+ git tag -a "v${NEW_VERSION}" -m "Release v${NEW_VERSION}"
96
+ fi
97
git push origin main --follow-tags
98
99
- name: Publish to npm
0 commit comments