Skip to content

Commit

Permalink
Add force flag to git tag and push command
Browse files Browse the repository at this point in the history
  • Loading branch information
savitaashture committed Sep 11, 2024
1 parent 2844ba9 commit d7ed223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ release: ${CATALOGCD} prepare-release
# tags the repository with the RELEASE_VERSION and pushes to "origin"
git-tag-release-version:
if ! git rev-list "${RELEASE_VERSION}".. >/dev/null; then \
git tag "$(RELEASE_VERSION)" && \
git push origin --tags; \
git tag -f "$(RELEASE_VERSION)" && \
git push origin --tags -f; \
fi

# github-release
Expand Down

0 comments on commit d7ed223

Please sign in to comment.