mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: fix buildbot-windows script
This commit is contained in:
parent
cf55fe660c
commit
825c6a45c1
@ -3,7 +3,7 @@ set -e
|
||||
set +x
|
||||
|
||||
if [[ ($1 == '--help') || ($1 == '-h') ]]; then
|
||||
echo "usage: $(basename $0) [firefox|webkit]"
|
||||
echo "usage: $(basename $0)"
|
||||
echo
|
||||
echo "Pull from upstream & run checkout_build_archive_upload.sh"
|
||||
echo "in a safe way so that multiple instances of the script cannot be run"
|
||||
|
@ -3,7 +3,7 @@ set -e
|
||||
set +x
|
||||
|
||||
if [[ ($1 == '--help') || ($1 == '-h') ]]; then
|
||||
echo "usage: $(basename $0) [firefox|webkit]"
|
||||
echo "usage: $(basename $0)"
|
||||
echo
|
||||
echo "Pull from upstream & run checkout_build_archive_upload.sh"
|
||||
echo "in a safe way so that multiple instances of the script cannot be run"
|
||||
|
@ -3,17 +3,11 @@ set -e
|
||||
set +x
|
||||
|
||||
if [[ ($1 == '--help') || ($1 == '-h') ]]; then
|
||||
echo "usage: $(basename $0) [firefox|webkit]"
|
||||
echo "usage: $(basename $0)"
|
||||
echo
|
||||
echo "Pull from upstream & run checkout_build_archive_upload.sh in a loop"
|
||||
fi
|
||||
|
||||
if [[ $# == 0 ]]; then
|
||||
echo "missing browser: 'firefox' or 'webkit'"
|
||||
echo "try './$(basename $0) --help' for more information"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ (-z $AZ_ACCOUNT_KEY) || (-z $AZ_ACCOUNT_NAME) ]]; then
|
||||
echo "ERROR: Either \$AZ_ACCOUNT_KEY or \$AZ_ACCOUNT_NAME environment variable is missing."
|
||||
echo " 'Azure Account Name' and 'Azure Account Key' secrets that are required"
|
||||
|
Loading…
x
Reference in New Issue
Block a user