1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Conform ldflag names to those that goreleaser uses

This commit is contained in:
Chris Cummer
2018-05-17 14:23:41 -07:00
parent 4c5edad61e
commit 430ade3fe5
4 changed files with 10 additions and 11 deletions

View File

@@ -2,4 +2,4 @@ BRANCH := `git rev-parse --abbrev-ref HEAD`
install:
which wtf | xargs rm
go install -ldflags="-X main.version=$(shell git describe --always --abbrev=6)_$(BRANCH) -X main.builtat=$(shell date +%FT%T%z)"
go install -ldflags="-X main.version=$(shell git describe --always --abbrev=6)_$(BRANCH) -X main.date=$(shell date +%FT%T%z)"