We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8797b3f commit 8d22205Copy full SHA for 8d22205
bin/build
@@ -6,6 +6,7 @@ ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
6
default_version='[DEV BUILD]'
7
VERSION_LABEL="${VERSION_LABEL:-${default_version}}"
8
9
+go version
10
go build \
11
-o "${ROOT_DIR}/out/bosh" \
12
-ldflags="-X 'github.com/cloudfoundry/bosh-cli/v7/cmd.VersionLabel=${VERSION_LABEL}' -X 'main.version=${VERSION_LABEL}'" \
0 commit comments