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 a4fb8cc commit 6d4e1e7Copy full SHA for 6d4e1e7
1 file changed
.github/workflows/release.yml
@@ -35,13 +35,8 @@ jobs:
35
36
TAG_NAME="${{ inputs.tag }}"
37
38
- # Check if tag exists in the fetched history
39
- if git rev-parse "refs/tags/$TAG_NAME" >/dev/null 2>&1; then
40
- echo "Tag $TAG_NAME exists"
41
- else
42
- echo "Tag $TAG_NAME does not exist. creating it on current HEAD..."
43
- git tag "$TAG_NAME"
44
- fi
+ echo "Force aligning tag $TAG_NAME to current HEAD..."
+ git tag -f "$TAG_NAME"
45
46
- name: Set up Go 1.x
47
uses: actions/setup-go@v5
0 commit comments