Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 7b23dec

Browse files
committed
Update vmware release script
1 parent cb572ed commit 7b23dec

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

scripts/vmware-release

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ touch .make-vmware
88
source ./scripts/version
99
./scripts/release
1010

11-
ROOT_FS_NAME="rootfs.tar.gz"
12-
VMDK_NAME="rancheros.vmdk"
13-
1411
if [ "$VMWARE_AUTOFORMAT" = 1 ]; then
1512
ISO_NAME="rancheros-autoformat.iso"
1613
mkdir -p /tmp/dist && mv ./dist/* /tmp/dist/
@@ -19,10 +16,12 @@ if [ "$VMWARE_AUTOFORMAT" = 1 ]; then
1916
echo "gsutil cp dist/artifacts/${ISO_NAME} gs://releases.rancher.com/os/latest/vmware/${ISO_NAME}"
2017
echo "gsutil cp dist/artifacts/${ISO_NAME} gs://releases.rancher.com/os/${VERSION}/vmware/${ISO_NAME}"
2118
exit 0
22-
else
23-
ISO_NAME="rancheros.iso"
2419
fi
2520

21+
ROOT_FS_NAME="rootfs.tar.gz"
22+
VMDK_NAME="rancheros.vmdk"
23+
ISO_NAME="rancheros.iso"
24+
2625
if [ "$VMWARE_APPEND" != "" ]; then
2726
echo "--append ${VMWARE_APPEND}"
2827
APPEND_PARAM="--append \"${VMWARE_APPEND}\""
@@ -97,6 +96,6 @@ for file in $(ls dist/artifacts/); do
9796
echo "gsutil cp dist/artifacts/${ROOT_FS_NAME} gs://releases.rancher.com/os/${VERSION}/vmware/${ROOT_FS_NAME}" >> ./dist/publish_gss_${VERSION}.sh
9897
;;
9998
esac
100-
done
99+
done
101100

102101
chmod 755 ./dist/*.sh

0 commit comments

Comments
 (0)