File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3838 MONGO_USERNAME : ${{ secrets.MONGO_USERNAME }}
3939 MONGO_PASSWORD : ${{ secrets.MONGO_PASSWORD }}
4040 SHORT_HASH : ${{ steps.var.outputs.sha_short }}
41- run : bin/release-binary.sh "$MONGO_URL" "$MONGO_USERNAME" "$MONGO_PASSWORD" "$SHORT_HASH" "master "
41+ run : bin/release-binary.sh "$MONGO_URL" "$MONGO_USERNAME" "$MONGO_PASSWORD" "$SHORT_HASH" "latest "
Original file line number Diff line number Diff line change 1616if [[ " $PARAM_2 " == ' stable' ]]; then
1717 FIELD=" stableCliVersion"
1818 VERSION=" $PARAM_1 "
19- else
19+ elif [[ " $PARAM_2 " == ' latest ' ]] ; then
2020 FIELD=" betaCliVersion"
21- VERSION=" master+$PARAM_1 "
21+ VERSION=" latest+$PARAM_1 "
22+ else
23+ return 1
2224fi
2325
2426echo " Release: $FIELD as $VERSION "
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ ext.installContribDir = "${userHome}/.sdkman/contrib"
1313
1414ext. environment = hasProperty(' env' ) ? env : ' local'
1515ext. hash = hasProperty(' hash' ) ? hash : ' hashme'
16- ext. release = hasProperty(' release' ) ? release : ' master '
16+ ext. release = hasProperty(' release' ) ? release : ' latest '
1717ext. candidatesApi = ext. environment == ' production' ? ' https://api.sdkman.io/2' : ' http://localhost:8080/2'
1818
19- ext. sdkmanVersion = ext. release == ' master ' ? " master +${ ext.hash} " . toString() : ext. release
19+ ext. sdkmanVersion = ext. release == ' latest ' ? " latest +${ ext.hash} " . toString() : ext. release
2020
2121println (" Environment is set to: $environment " )
2222println (" Short git hash: $hash " )
You can’t perform that action at this time.
0 commit comments