File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ release-major: check-clean
6666 @git add version.go
6767 @git commit -m " chore: bump version to $( NEW_VERSION) "
6868 @git tag -a v$(NEW_VERSION ) -m " Release v$( NEW_VERSION) "
69- @echo " Created tag v $( NEW_VERSION ) "
70- @echo " Run 'git push && git push --tags' to publish "
69+ @git push --follow-tags
70+ @echo " Published v $( NEW_VERSION ) "
7171
7272release-minor : check-clean
7373 @$(eval NEW_VERSION := $(MAJOR ) .$(shell echo $$(($(MINOR ) +1 ) ) ) .0)
@@ -76,8 +76,8 @@ release-minor: check-clean
7676 @git add version.go
7777 @git commit -m " chore: bump version to $( NEW_VERSION) "
7878 @git tag -a v$(NEW_VERSION ) -m " Release v$( NEW_VERSION) "
79- @echo " Created tag v $( NEW_VERSION ) "
80- @echo " Run 'git push && git push --tags' to publish "
79+ @git push --follow-tags
80+ @echo " Published v $( NEW_VERSION ) "
8181
8282release-patch : check-clean
8383 @$(eval NEW_VERSION := $(MAJOR ) .$(MINOR ) .$(shell echo $$(($(PATCH ) +1 ) ) ) )
You can’t perform that action at this time.
0 commit comments