diff options
author | Mike Crute <mike@crute.us> | 2021-11-17 15:47:51 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2021-11-17 15:47:51 -0800 |
commit | 375654659ce828de4c24035c023c9ab551a37410 (patch) | |
tree | 45f4367a4532abb8a883df0842f7cd591e61f795 /Makefile | |
parent | bcd64c17f857feda40fa4f1ba4e1aa910bbeb567 (diff) | |
download | cloud-identity-broker-375654659ce828de4c24035c023c9ab551a37410.tar.bz2 cloud-identity-broker-375654659ce828de4c24035c023c9ab551a37410.tar.xz cloud-identity-broker-375654659ce828de4c24035c023c9ab551a37410.zip |
Add version to headers
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ IMAGE=docker.crute.me/aws-access | |||
2 | BINARY=cloud-identity-broker | 2 | BINARY=cloud-identity-broker |
3 | 3 | ||
4 | $(BINARY): main.go $(shell find . -name '*.go') | 4 | $(BINARY): main.go $(shell find . -name '*.go') |
5 | go build -o $@ $< | 5 | go build -ldflags "-X main.appVersion=$(shell git describe --long --tags --dirty --always)" -o $@ $< |
6 | 6 | ||
7 | .PHONY: vet | 7 | .PHONY: vet |
8 | vet: main.go | 8 | vet: main.go |