Skip to content

Commit 6e5ba80

Browse files
committed
Fix sync-to-maven-central script
1 parent 11b8e7c commit 6e5ba80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/scripts/sync-to-maven-central.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ echo "Syncing ${buildName}/${buildNumber} to Maven Central"
1111
-s \
1212
-o /dev/null \
1313
-I \
14-
-w "%{http_code}"
14+
-w "%{http_code}" \
1515
"https://oss.sonatype.org/service/local/repositories/releases/content/org/springframework/boot/spring-boot/${version}/spring-boot-${version}.jar.sha1")
1616

17-
if [ ${publishStatus} == "200" ]; then
17+
if [[ ${publishStatus} == "200" ]]; then
1818
echo "Already published to Sonatype"
1919
else
2020
echo "Calling Bintray to sync to Sonatype"

0 commit comments

Comments
 (0)