Skip to content

Commit 2a6d0fe

Browse files
committed
Try moving latest tagging to the release pipeline
1 parent c19bbba commit 2a6d0fe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ jobs:
3232
env:
3333
# Use separate access token, because we need a scope:repo token to publish the brew formula.
3434
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
35+
# And tag latest, once the release is done.
36+
- run: git tag latest -f -a -m "release v${GITHUB_REF##*/}"
37+
- run: git push -f --tags

release.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ fi
99

1010
# Push a new tag, this will trigger the goreleaser workflow in .github/workflows/goreleaser.yml
1111
git tag "${VERSION}" -a -m "release v${VERSION}"
12-
git tag latest -f -a -m "release v${VERSION}"
1312
git push -f --tags

0 commit comments

Comments
 (0)