2020-12-10 04:20:05 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source $(dirname $0)/common.sh
|
|
|
|
|
|
|
|
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
|
|
|
|
|
2020-12-15 04:07:15 +08:00
|
|
|
java -jar /spring-boot-release-scripts.jar publishToSdkman $RELEASE_TYPE $version $LATEST_GA || { exit 1; }
|
2020-12-10 04:20:05 +08:00
|
|
|
|
|
|
|
echo "Push to SDKMAN complete"
|