Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit bc9bd7c

Browse files
committed
ci: allow force push of tags
1 parent b0af2d6 commit bc9bd7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
if [ -z "$tag" ]; then
5454
tag=${GITHUB_REF#refs/tags/}
5555
fi
56-
git tag -a -m "Release $tag" "$tag" -f
57-
git push origin "$tag"
56+
git tag -f -a -m "Release $tag" "$tag"
57+
git push --tags -f
5858
5959
- name: Run GoReleaser
6060
uses: goreleaser/goreleaser-action@v3

0 commit comments

Comments
 (0)