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