From f5dc0559c2405f2f9bcba058aa481096f7bf18f3 Mon Sep 17 00:00:00 2001 From: Peter Squicciarini Date: Mon, 20 May 2019 08:56:42 -0700 Subject: [PATCH] Make Windows version paths consistent across archs --- update_version.sh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/update_version.sh b/update_version.sh index fd63522..ccbdbce 100755 --- a/update_version.sh +++ b/update_version.sh @@ -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