Skip to content

Commit 5fbbe92

Browse files
s-weigandwebknjaz
andauthored
Make Tag pushing atomic
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
1 parent 54e3ca6 commit 5fbbe92

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish-major-minor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ jobs:
4747
--message='original tag: ${{ env.original_tag_name }}'
4848
git tag --annotate '${{ env.minor_version }}' \
4949
--message='original tag: ${{ env.original_tag_name }}'
50-
git push origin '${{ env.major_version }}' --force-with-lease
51-
git push origin '${{ env.minor_version }}' --force-with-lease
50+
git push --force --atomic origin \
51+
'${{ env.major_version }}' \
52+
'${{ env.minor_version }}'

0 commit comments

Comments
 (0)