Skip to content

Commit 0bab386

Browse files
committed
reverted master script changes
1 parent a5df3d2 commit 0bab386

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/build.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ if [[ -n "${TF_RELEASE}" ]]; then
5151
fi
5252

5353
# Build!
54-
VERSION="1.85.0"
54+
VERSION="1.64.0"
5555
echo "==> Building..."
5656
gox \
5757
-os="${XC_OS}" \
5858
-arch="${XC_ARCH}" \
5959
-osarch="${XC_EXCLUDE_OSARCH}" \
6060
-ldflags "${LD_FLAGS}" \
61-
-output "pkg/{{.OS}}_{{.Arch}}/terraform-provider-ibm_${VERSION}_{{.OS}}_{{.Arch}}" \
61+
-output "pkg/{{.OS}}_{{.Arch}}/terraform-provider-ibm" \
6262
.
6363

6464
# Move all the compiled things to the $GOPATH/bin
@@ -92,11 +92,10 @@ if [ "${TF_DEV}x" = "x" ]; then
9292
echo "==> Packaging..."
9393
for PLATFORM in $(find ./pkg -mindepth 1 -maxdepth 1 -type d); do
9494
OSARCH=$(basename ${PLATFORM})
95-
ZIPNAME="terraform-provider-ibm_${VERSION}_${OSARCH}"
9695
echo "--> ${OSARCH}"
9796

9897
pushd $PLATFORM >/dev/null 2>&1
99-
zip ../${ZIPNAME}.zip ./*
98+
zip ../${OSARCH}.zip ./*
10099
popd >/dev/null 2>&1
101100
done
102101
fi

0 commit comments

Comments
 (0)