From 297202252310afa616f1960f9230bd7c75046cd7 Mon Sep 17 00:00:00 2001 From: cmeng Date: Thu, 2 Nov 2023 11:04:11 +1300 Subject: [PATCH] fix(version): show build info EE-6278 (#10578) --- build/build_binary.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/build_binary.sh b/build/build_binary.sh index 393c61c74..458e75118 100755 --- a/build/build_binary.sh +++ b/build/build_binary.sh @@ -21,12 +21,12 @@ go get -t -d -v ./... ldflags="-s -X 'github.com/portainer/liblicense.LicenseServerBaseURL=https://api.portainer.io' \ --X 'github.com/portainer/portainer-ee/api/build.BuildNumber=${BUILDNUMBER}' \ --X 'github.com/portainer/portainer-ee/api/build.ImageTag=${CONTAINER_IMAGE_TAG}' \ --X 'github.com/portainer/portainer-ee/api/build.NodejsVersion=${NODE_VERSION}' \ --X 'github.com/portainer/portainer-ee/api/build.YarnVersion=${YARN_VERSION}' \ --X 'github.com/portainer/portainer-ee/api/build.WebpackVersion=${WEBPACK_VERSION}' \ --X 'github.com/portainer/portainer-ee/api/build.GoVersion=${GO_VERSION}'" +-X 'github.com/portainer/portainer/api/build.BuildNumber=${BUILDNUMBER}' \ +-X 'github.com/portainer/portainer/api/build.ImageTag=${CONTAINER_IMAGE_TAG}' \ +-X 'github.com/portainer/portainer/api/build.NodejsVersion=${NODE_VERSION}' \ +-X 'github.com/portainer/portainer/api/build.YarnVersion=${YARN_VERSION}' \ +-X 'github.com/portainer/portainer/api/build.WebpackVersion=${WEBPACK_VERSION}' \ +-X 'github.com/portainer/portainer/api/build.GoVersion=${GO_VERSION}'" BINARY_VERSION_FILE="../binary-version.json"