diff --git a/Makefile b/Makefile index 4661158..7dd3e18 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -version=$(shell git describe --always --dirty) +dev_build_version=$(shell git describe --always --dirty) # TODO: run golint and errcheck, but only to catch *new* violations and # decide whether to change code or not (e.g. we need to be able to whitelist @@ -18,7 +18,11 @@ updatedeps: .PHONY: install install: - go install -ldflags '-X "main.version=dev build $(version)"' ./... + go install -ldflags '-X "main.version=dev build $(dev_build_version)"' ./... + +.PHONY: release +release: + goreleaser --rm-dist .PHONY: checkgofmt checkgofmt: