From 1ec59a7c0002598c594fb58e03907d7ff0ca84b4 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 21 Dec 2020 10:06:47 -0800 Subject: [PATCH] govc: fix build.sh git tag injection --- govc/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/govc/build.sh b/govc/build.sh index b98d2ea39..911fcee38 100755 --- a/govc/build.sh +++ b/govc/build.sh @@ -12,7 +12,7 @@ PROGRAM_NAME=govc PROJECT_PKG="github.com/vmware/govmomi" PROGRAM_PKG="${PROJECT_PKG}/${PROGRAM_NAME}" -export LDFLAGS="-w -X ${PROGRAM_PKG}/version.gitVersion=${git_version}" +export LDFLAGS="-w -X ${PROGRAM_PKG}/flags.GitVersion=${git_version}" export BUILD_OS="${BUILD_OS:-darwin linux windows freebsd}" export BUILD_ARCH="${BUILD_ARCH:-amd64}"