mirror of
https://github.com/pypa/gh-action-pypi-publish
synced 2024-11-30 21:22:28 +08:00
Make Tag pushing atomic
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
This commit is contained in:
parent
54e3ca66c3
commit
5fbbe92f7f
5
.github/workflows/publish-major-minor.yml
vendored
5
.github/workflows/publish-major-minor.yml
vendored
@ -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 }}'
|
||||
|
Loading…
Reference in New Issue
Block a user