diff --git a/Makefile b/Makefile index 8f8ac97..4c94afc 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ OUTPUT := ./bin/$(APP_NAME).exe GO := go # Version info -VERSION := 1.0.1 +VERSION := $(shell git describe --tags --abbrev=0) GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null || echo none) BUILD_TIME := $(shell date -u +%Y-%m-%dT%H:%M:%SZ)