Skip to content

Commit 8d22205

Browse files
selzocaramprice
authored andcommitted
Print go version before building
Signed-off-by: Aram Price <aram.price@broadcom.com>
1 parent 8797b3f commit 8d22205

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
66
default_version='[DEV BUILD]'
77
VERSION_LABEL="${VERSION_LABEL:-${default_version}}"
88

9+
go version
910
go build \
1011
-o "${ROOT_DIR}/out/bosh" \
1112
-ldflags="-X 'github.com/cloudfoundry/bosh-cli/v7/cmd.VersionLabel=${VERSION_LABEL}' -X 'main.version=${VERSION_LABEL}'" \

0 commit comments

Comments
 (0)