Skip to content

Commit

Permalink
build: make release stage also on already pushed tags
Browse files Browse the repository at this point in the history
  • Loading branch information
RaVbaker committed Mar 23, 2021
1 parent ae6d10e commit 794e6d8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ run:

## release: Releases new version of the binary and submits to GitHub. Remember to have the GITHUB_TOKEN env var present. Provide VERSION to set the released version. E.g. make release VERSION=v0.1.1
release:
git tag -a $(VERSION)
git push origin $(VERSION)
git tag -fa $(VERSION)
git push -f origin $(VERSION)
goreleaser --rm-dist

## revert-tag: Removes tag from local and origin to reissue release again
revert-tag:



.PHONY: help
all: help
help: Makefile
Expand Down

0 comments on commit 794e6d8

Please sign in to comment.