We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a200ab9 commit 1c5d55bCopy full SHA for 1c5d55b
.github/workflows/go-build.yaml
@@ -67,7 +67,8 @@ jobs:
67
run: |
68
git config --local user.name "github-actions"
69
git config --local user.email "github-actions@users.noreply.github.com"
70
- if git rev-parse "v${VERSION}" >/dev/null 2>&1; then
+ git fetch --tags --quiet
71
+ if git rev-parse "refs/tags/v${VERSION}" >/dev/null 2>&1; then
72
echo "Tag v${VERSION} already exists"
73
else
74
git tag -a "v${VERSION}" -m "v${VERSION}"
0 commit comments