devops: fix firefox win64 upload to CDN (#469)

This commit is contained in:
Andrey Lushnikov 2020-01-13 13:55:45 -08:00 committed by GitHub
parent 5980431ec3
commit 883005a323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,8 +36,6 @@ BLOB_NAME=""
ALIAS=""
if [[ ("$1" == "firefox") || ("$1" == "firefox/") ]]; then
# we always apply our patches atop of beta since it seems to get better
# reliability guarantees.
BUILD_NUMBER=$(cat "$PWD/firefox/BUILD_NUMBER")
BROWSER_NAME="firefox"
if [[ "$(uname)" == "Darwin" ]]; then
@ -54,6 +52,8 @@ if [[ ("$1" == "firefox") || ("$1" == "firefox/") ]]; then
exit 1
fi
elif [[ ("$1" == "firefox-win64") || ("$1" == "firefox-win64/") ]]; then
BUILD_NUMBER=$(cat "$PWD/firefox/BUILD_NUMBER")
BROWSER_NAME="firefox"
if [[ "$(uname)" == MINGW* ]]; then
BLOB_NAME="firefox-win64.zip"
ALIAS="ff-win64 r$BUILD_NUMBER"