Make Tag pushing atomic

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
This commit is contained in:
Sebastian Weigand 2020-11-06 15:39:23 +01:00 committed by GitHub
parent 54e3ca66c3
commit 5fbbe92f7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -47,5 +47,6 @@ jobs:
--message='original tag: ${{ env.original_tag_name }}'
git tag --annotate '${{ env.minor_version }}' \
--message='original tag: ${{ env.original_tag_name }}'
git push origin '${{ env.major_version }}' --force-with-lease
git push origin '${{ env.minor_version }}' --force-with-lease
git push --force --atomic origin \
'${{ env.major_version }}' \
'${{ env.minor_version }}'