Skip to content

Commit

Permalink
Add command to make release
Browse files Browse the repository at this point in the history
`make release v3.0.0` will add a git tag which can trigger the dunner release.
  • Loading branch information
apoorvam authored May 20, 2019
1 parent 6551669 commit b586e36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ test-coverage:
tail -n +2 coverage.out >> coverage-all.out;)
@go tool cover -html=coverage-all.out -o coverage.html

release:
@echo "Make sure you run this on master branch to make a release"
@echo "Adding tag for version: $(VERSION)"
git tag -a $(VERSION) -m "Release version $(VERSION)"
@echo "Run \"git push origin $(VERSION)\" to push tag to remote which makes a dunner release!"

0 comments on commit b586e36

Please sign in to comment.