From 833e0a0f5f1811f9a901f42d214b3c70a1a6ca4e Mon Sep 17 00:00:00 2001 From: savitaashture Date: Wed, 11 Sep 2024 19:52:11 +0530 Subject: [PATCH] Add force flag to git tag and push command --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 085898b..093fe50 100644 --- a/Makefile +++ b/Makefile @@ -116,8 +116,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 # rolls out the current Chart version as the repository release version, uploads the release