From 3c6613a430dab87371848442acc19e634835b9d1 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Mon, 8 May 2017 11:39:38 +0200 Subject: [PATCH] fix build number not being compiled into binary --- ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci.sh b/ci.sh index bef418038..53c9ea8fe 100755 --- a/ci.sh +++ b/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