From b586e36d62cdc4efa90c2c659c3b957b850d6b93 Mon Sep 17 00:00:00 2001 From: Apoorva M Date: Mon, 20 May 2019 11:55:28 -0400 Subject: [PATCH] Add command to make release `make release v3.0.0` will add a git tag which can trigger the dunner release. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 4f43dbf..5440eb8 100644 --- a/Makefile +++ b/Makefile @@ -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!"