Fix promote script

See gh-9316
This commit is contained in:
Phillip Webb 2017-10-11 18:44:59 -07:00
parent dcad69fd23
commit 3dd59ba00b
1 changed files with 1 additions and 1 deletions

View File

@ -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" \