fix(build): use bash string comparison operator (#13502)

This commit is contained in:
Alex Eagle 2016-12-15 12:05:29 -08:00 committed by Chuck Jazdzewski
parent 01d1624884
commit 14e785f5b7
1 changed files with 2 additions and 2 deletions

View File

@ -73,9 +73,9 @@ function publishPackages {
COMPONENT="${COMPONENT//_/-}"
JS_BUILD_ARTIFACTS_DIR="${dir}"
if [[ "$1" -eq "ssh" ]]; then
if [[ "$1" == "ssh" ]]; then
REPO_URL="git@github.com:${ORG}/${COMPONENT}-builds.git"
elif [[ "$1" -eq "http" ]]; then
elif [[ "$1" == "http" ]]; then
REPO_URL="https://github.com/${ORG}/${COMPONENT}-builds.git"
else
die "Don't have a way to publish to scheme $1"