1
0
mirror of https://github.com/strongdm/comply synced 2024-11-14 03:44:55 +00:00
This commit is contained in:
Justin McCarthy 2018-05-10 23:50:49 -07:00
parent 7a15435a49
commit f732f7bb69
No known key found for this signature in database
GPG Key ID: 900437410E142A48

View File

@ -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)