From 3dd59ba00b0a9037d2d7fbf0c2312eca76b444ef Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 11 Oct 2017 18:44:59 -0700 Subject: [PATCH] Fix promote script See gh-9316 --- ci/scripts/promote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/promote.sh b/ci/scripts/promote.sh index 95ed1e2a52..701c15184c 100755 --- a/ci/scripts/promote.sh +++ b/ci/scripts/promote.sh @@ -29,7 +29,7 @@ curl \ -X \ POST "${ARTIFACTORY_SERVER}/api/build/promote/${buildName}/${buildNumber}" > /dev/null || { echo "Failed to promote" >&2; exit 1; } -elif [[ $RELEASE_TYPE = "RELEASE" ]]; then +if [[ $RELEASE_TYPE = "RELEASE" ]]; then curl \ -u ${ARTIFACTORY_USERNAME}:${ARTIFACTORY_PASSWORD} \ -H"Content-type:application/json" \