mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-03 11:51:33 +01:00
656f73f0c5
Fixes gh-18908
9 lines
361 B
Bash
Executable File
9 lines
361 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export BUILD_INFO_LOCATION=$(pwd)/artifactory-repo/build-info.json
|
|
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
|
|
java -jar /spring-boot-release-scripts.jar syncToCentral "RELEASE" $BUILD_INFO_LOCATION > /dev/null || { exit 1; }
|
|
|
|
echo "Sync complete"
|
|
echo $version > version/version
|