This commit is contained in:
parent
abce609618
commit
5409a62021
2
build.sh
2
build.sh
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
CGO_ENABLED=1 go build -v -ldflags "-X main.Version=`git describe --tags --long` -X main.GitHash=`git rev-parse HEAD` -X main.BuildTime=`date -u '+%Y-%m-%d_%I:%M:%S%p'`"
|
||||
CGO_ENABLED=0 go build -v -ldflags "-X main.Version=`git describe --tags --long` -X main.GitHash=`git rev-parse HEAD` -X main.BuildTime=`date -u '+%Y-%m-%d_%I:%M:%S%p'`"
|
||||
|
Loading…
Reference in New Issue
Block a user