Skip to content

Commit a489e3a

Browse files
committed
fix make for tags
1 parent ec97d9a commit a489e3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.make/tag.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ tag-up:
1616
echo "Current branch: $(CURRENT_BRANCH)"; \
1717
exit 1; \
1818
fi
19-
@git fetch --tags
20-
@echo $(GIT_NEW_TAG) && git tag "v$(GIT_NEW_TAG)" && git push origin "v$(GIT_NEW_TAG)"
19+
@git fetch --tags --force
20+
@echo $(GIT_NEW_TAG) && git tag "v$(GIT_NEW_TAG)" && git push origin --force "v$(GIT_NEW_TAG)"

0 commit comments

Comments
 (0)