Skip to content

Commit ff0b57c

Browse files
committed
feat(gen4-granite-rapids):fixed review comments
1 parent 9feb539 commit ff0b57c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/build.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ gox \
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)