From f732f7bb69b81476d52b61a292e66df8c2672926 Mon Sep 17 00:00:00 2001 From: Justin McCarthy Date: Thu, 10 May 2018 23:50:49 -0700 Subject: [PATCH] from git --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4cd2aab..50477ad 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ comply: assets $(GO_SOURCES) go build $(LDFLAGS) github.com/strongdm/comply/cmd/comply dist: clean - $(eval VERSION := $(shell cat VERSION)) + $(eval VERSION := $(shell git describe --tags --always --dirty="-dev")) $(eval LDFLAGS := -ldflags='-X "cli.Version=$(VERSION)"') mkdir dist echo $(VERSION)