build.sh: Fix variable name
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c6b96ecad8
commit
d1b3cd1f96
2
build.sh
2
build.sh
|
@ -10,4 +10,4 @@ fi
|
||||||
gitsha1=$(git rev-parse HEAD | head -c 9)
|
gitsha1=$(git rev-parse HEAD | head -c 9)
|
||||||
buildtime=$(date --iso-8601=seconds)
|
buildtime=$(date --iso-8601=seconds)
|
||||||
|
|
||||||
go build -ldflags "-X main.gitchanges=$gitchanges -X main.gitSHA1=$gitsha1 -X main.buildTime=$buildtime"
|
go build -ldflags "-X main.gitChanges=$gitchanges -X main.gitSHA1=$gitsha1 -X main.buildTime=$buildtime"
|
||||||
|
|
Loading…
Reference in New Issue