parent
6a8ad73e2e
commit
e5aea89599
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
source $(dirname $0)/common.sh
|
||||
|
||||
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
|
||||
|
||||
java -jar /spring-boot-release-scripts.jar publishToSdkman $RELEASE_TYPE $version $BRANCH || {exit 1;}
|
||||
|
||||
echo "Push to SDKMAN complete"
|
@ -0,0 +1,11 @@
|
||||
---
|
||||
platform: linux
|
||||
inputs:
|
||||
- name: artifactory-repo
|
||||
params:
|
||||
RELEASE_TYPE:
|
||||
BRANCH:
|
||||
SDKMAN_CONSUMER_KEY:
|
||||
SDKMAN_CONSUMER_TOKEN:
|
||||
run:
|
||||
path: git-repo/ci/scripts/publish-to-sdkman.sh
|
Loading…
Reference in New Issue