File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,14 @@ if [[ -n "${TF_RELEASE}" ]]; then
5151fi
5252
5353# Build!
54+ VERSION=" 1.62.0"
5455echo " ==> Building..."
5556gox \
5657 -os=" ${XC_OS} " \
5758 -arch=" ${XC_ARCH} " \
5859 -osarch=" ${XC_EXCLUDE_OSARCH} " \
5960 -ldflags " ${LD_FLAGS} " \
60- -output " pkg/{{.OS}}_{{.Arch}}/terraform-provider-ibm " \
61+ -output " pkg/{{.OS}}_{{.Arch}}/terraform-provider-ibm_ ${VERSION} _{{.OS}}_{{.Arch}} " \
6162 .
6263
6364# Move all the compiled things to the $GOPATH/bin
@@ -91,10 +92,11 @@ if [ "${TF_DEV}x" = "x" ]; then
9192 echo " ==> Packaging..."
9293 for PLATFORM in $( find ./pkg -mindepth 1 -maxdepth 1 -type d) ; do
9394 OSARCH=$( basename ${PLATFORM} )
95+ ZIPNAME=" terraform-provider-ibm_${VERSION} _${OSARCH} "
9496 echo " --> ${OSARCH} "
9597
9698 pushd $PLATFORM > /dev/null 2>&1
97- zip ../${OSARCH } .zip ./*
99+ zip ../${ZIPNAME } .zip ./*
98100 popd > /dev/null 2>&1
99101 done
100102fi
You can’t perform that action at this time.
0 commit comments