From c9f94e59ca4846d15306acd7fd52fee32fd68402 Mon Sep 17 00:00:00 2001 From: Ujjwal Kumar Date: Wed, 12 Jun 2024 11:49:11 +0530 Subject: [PATCH] Update build.sh --- scripts/build.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index cb1b4f383b..9d374b19d0 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -51,14 +51,13 @@ if [[ -n "${TF_RELEASE}" ]]; then fi # Build! -VERSION="1.63.0" echo "==> Building..." gox \ -os="${XC_OS}" \ -arch="${XC_ARCH}" \ -osarch="${XC_EXCLUDE_OSARCH}" \ -ldflags "${LD_FLAGS}" \ - -output "pkg/{{.OS}}_{{.Arch}}/terraform-provider-ibm_${VERSION}_{{.OS}}_{{.Arch}}" \ + -output "pkg/{{.OS}}_{{.Arch}}/terraform-provider-ibm" \ . # Move all the compiled things to the $GOPATH/bin @@ -92,11 +91,10 @@ if [ "${TF_DEV}x" = "x" ]; then echo "==> Packaging..." for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do OSARCH=$(basename ${PLATFORM}) - ZIPNAME="terraform-provider-ibm_${VERSION}_${OSARCH}" echo "--> ${OSARCH}" pushd $PLATFORM >/dev/null 2>&1 - zip ../${ZIPNAME}.zip ./* + zip ../${OSARCH}.zip ./* popd >/dev/null 2>&1 done fi