diff --git a/.github/workflows/create_additional_release_tag.yaml b/.github/workflows/create_additional_release_tag.yaml index 26079cfc0a..892a821788 100644 --- a/.github/workflows/create_additional_release_tag.yaml +++ b/.github/workflows/create_additional_release_tag.yaml @@ -39,5 +39,7 @@ jobs: # update the version. CHECK_LATEST_TAG="unmanaged-dependencies-check-latest" git tag ${CHECK_LATEST_TAG} - git push origin -f ${CHECK_LATEST_TAG} + # delete the tag in remote repo and push again. + git push --delete origin ${CHECK_LATEST_TAG} + git push origin ${CHECK_LATEST_TAG}