Commit 6e5ba807 authored by Phillip Webb's avatar Phillip Webb

Fix sync-to-maven-central script

parent 11b8e7c2
...@@ -11,10 +11,10 @@ echo "Syncing ${buildName}/${buildNumber} to Maven Central" ...@@ -11,10 +11,10 @@ echo "Syncing ${buildName}/${buildNumber} to Maven Central"
-s \ -s \
-o /dev/null \ -o /dev/null \
-I \ -I \
-w "%{http_code}" -w "%{http_code}" \
"https://oss.sonatype.org/service/local/repositories/releases/content/org/springframework/boot/spring-boot/${version}/spring-boot-${version}.jar.sha1") "https://oss.sonatype.org/service/local/repositories/releases/content/org/springframework/boot/spring-boot/${version}/spring-boot-${version}.jar.sha1")
if [ ${publishStatus} == "200" ]; then if [[ ${publishStatus} == "200" ]]; then
echo "Already published to Sonatype" echo "Already published to Sonatype"
else else
echo "Calling Bintray to sync to Sonatype" echo "Calling Bintray to sync to Sonatype"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment