fix build number not being compiled into binary
This commit is contained in:
parent
314b4346e9
commit
3c6613a430
1 changed files with 1 additions and 1 deletions
2
ci.sh
2
ci.sh
|
@ -22,4 +22,4 @@ set -x
|
|||
git clone git@github.com:drone/drone-enterprise.git extras
|
||||
|
||||
# build a static binary with the build number and extra features.
|
||||
go build -ldflags '-extldflags "-static" -X github.com/drone/drone/version.VersionDev=build.${DRONE_BUILD_NUMBER}' -tags extras -o release/drone github.com/drone/drone/drone
|
||||
go build -ldflags '-extldflags "-static" -X github.com/drone/drone/version.VersionDev=build.'${DRONE_BUILD_NUMBER} -tags extras -o release/drone github.com/drone/drone/drone
|
||||
|
|
Loading…
Reference in a new issue