Make Windows version paths consistent across archs

This commit is contained in:
Peter Squicciarini 2019-05-20 08:56:42 -07:00
parent ff70dffab8
commit f5dc0559c2

View File

@ -110,23 +110,13 @@ elif [[ "$CI_WINDOWS" == "True" ]]; then
# user installer
ASSET_NAME=VSCodiumUserSetup-${BUILDARCH}-${LATEST_MS_TAG}.exe
if [[ "$BUILDARCH" == "x64" ]]; then
VERSION_PATH="win32/${BUILDARCH}/user"
else
VERSION_PATH="win32/user"
fi
VERSION_PATH="win32/${BUILDARCH}/user"
JSON="$(generateJson ${ASSET_NAME})"
updateLatestVersion "$VERSION_PATH" "$JSON"
# windows archive
ASSET_NAME=VSCodium-win32-${BUILDARCH}-${LATEST_MS_TAG}.zip
if [[ "$BUILDARCH" == "x64" ]]; then
VERSION_PATH="win32/${BUILDARCH}/archive"
else
VERSION_PATH="win32/archive"
fi
VERSION_PATH="win32/${BUILDARCH}/archive"
JSON="$(generateJson ${ASSET_NAME})"
updateLatestVersion "$VERSION_PATH" "$JSON"
else # linux