Skip to content

Commit

Permalink
govc: fix build.sh git tag injection
Browse files Browse the repository at this point in the history
  • Loading branch information
dougm committed Dec 21, 2020
1 parent 0769b3b commit 1ec59a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion govc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 1ec59a7

Please sign in to comment.