From 50afbe094feff0804152ebacaf69bb286618a443 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 15 Dec 2016 12:05:29 -0800 Subject: [PATCH] fix(build): use bash string comparison operator (#13502) --- scripts/publish/publish-build-artifacts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish/publish-build-artifacts.sh b/scripts/publish/publish-build-artifacts.sh index bcdfe587ce..89887fadab 100755 --- a/scripts/publish/publish-build-artifacts.sh +++ b/scripts/publish/publish-build-artifacts.sh @@ -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"