diff --git a/.github/workflows/release_pipeline.yml b/.github/workflows/release_pipeline.yml index f3af1ea6..29b07c24 100644 --- a/.github/workflows/release_pipeline.yml +++ b/.github/workflows/release_pipeline.yml @@ -89,11 +89,11 @@ git tag -f \ -a v${{ steps.version.outputs.version }} \ -m "v${{ steps.version.outputs.version }}" - git push origin "v${{ steps.version.outputs.version }}" + git push -f origin "v${{ steps.version.outputs.version }}" git tag -f \ -a v${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }} \ -m "v${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}" - git push origin "v${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}" + git push -f origin "v${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}" git tag -f \ -a v${{ steps.version.outputs.major }} \ -m "v${{ steps.version.outputs.major }}"