mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2025-08-12 06:26:39 +00:00
Compare commits
1 Commits
v0.1.6-bet
...
v0.1.6-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4ea506c35 |
@@ -2,9 +2,9 @@
|
||||
|
||||
set -e
|
||||
|
||||
BUILD_VERSION="$(git describe --tags --always)"
|
||||
BUILD_VERSION=$1
|
||||
BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')"
|
||||
COMMIT_SHA1="$(git rev-parse --short HEAD)"
|
||||
COMMIT_SHA1=""
|
||||
|
||||
go build -trimpath -ldflags "-X 'github.com/xgadget-lab/nexttrace/printer.version=${BUILD_VERSION}' \
|
||||
-X 'github.com/xgadget-lab/nexttrace/printer.buildDate=${BUILD_DATE}' \
|
||||
|
||||
Reference in New Issue
Block a user