Skip to content

Commit 3dd59ba

Browse files
committed
Fix promote script
See gh-9316
1 parent dcad69f commit 3dd59ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/scripts/promote.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ curl \
2929
-X \
3030
POST "${ARTIFACTORY_SERVER}/api/build/promote/${buildName}/${buildNumber}" > /dev/null || { echo "Failed to promote" >&2; exit 1; }
3131

32-
elif [[ $RELEASE_TYPE = "RELEASE" ]]; then
32+
if [[ $RELEASE_TYPE = "RELEASE" ]]; then
3333
curl \
3434
-u ${ARTIFACTORY_USERNAME}:${ARTIFACTORY_PASSWORD} \
3535
-H"Content-type:application/json" \

0 commit comments

Comments
 (0)