Skip to content

Commit c90927b

Browse files
committed
Force creation of release tag
To prevent failure of the whole workflow when a tag already exists, we force the creation.
1 parent 47951eb commit c90927b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/finalize-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ jobs:
5555
version=${BASE_REF#rc/}
5656
echo "Creating release tag v$version"
5757
58-
git tag -a v$version -m "Release v$version"
59-
git push -f origin v$version
58+
git tag -f -a v$version -m "Release v$version"
59+
git push --force-with-lease origin v$version
6060
6161
- name: Finalize release
6262
env:

0 commit comments

Comments
 (0)