mirror of
https://github.com/strongdm/comply
synced 2025-12-15 19:00:50 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81ece97296 | ||
|
|
f732f7bb69 |
2
Makefile
2
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)
|
||||
|
||||
Reference in New Issue
Block a user