diff --git a/.github/workflows/publish-major-minor.yml b/.github/workflows/publish-major-minor.yml index 7e845db..ac81403 100644 --- a/.github/workflows/publish-major-minor.yml +++ b/.github/workflows/publish-major-minor.yml @@ -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 }}'