Skip to content

Commit a39d340

Browse files
release: git fetch all tag with force to avoid "would clobber existing tag"
1 parent 846663b commit a39d340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# if no tag exists, this is expected to fail
3030
- name: Switch to git tag for release
3131
run: |
32-
git fetch --all --tags
32+
git fetch --all --tags -f
3333
git checkout tags/${{ env.TAG_NAME }} -b ${{ env.TAG_NAME }}-tmp-branch
3434
3535
- name: Set up JDK 11

0 commit comments

Comments
 (0)