From b365efcd38270967b1228fa081938ff42685bf2b Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Thu, 25 May 2017 08:11:58 -0700 Subject: [PATCH] add a release target --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e2356a6..4520f70 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +BUMP_VERSION := $(shell command -v bump_version) STATICCHECK := $(shell command -v staticcheck) lint: @@ -9,4 +10,10 @@ endif test: lint @# the timeout helps guard against infinite recursion - go test -timeout=30ms ./... + go test -timeout=50ms ./... + +release: +ifndef BUMP_VERSION + go get -u github.com/Shyp/bump_version +endif + bump_version minor config.go