diff --git a/Makefile b/Makefile index 4dc3793..8032346 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ -default: ci +default: install + +install: + go install -ldflags "-X main.version=$(shell git describe --tags || git rev-parse --short HEAD || echo dev)" ci: ./publish.sh