Skip to content

Commit

Permalink
Merge pull request #219 from XerTheSquirrel/correct-maven-sync-syntax…
Browse files Browse the repository at this point in the history
…-error

Correct syntax error in call to maven sync.
  • Loading branch information
XerTheSquirrel authored Dec 4, 2018
2 parents 0729510 + 7ca4a27 commit f5864f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ sleep 15
# "password": "passwordToken", // Sonatype OSS user password
# "close": "1" // Optional
# }
if ! echo '{"username":"'"$SONATYPE_USERTOKEN"'", "password":"'"$SONATYPE_PASSWORDTOKEN"'", "close", "1"}' | curl --data-binary @- -f -XPOST -u "$BINTRAY_USER:$BINTRAY_API_KEY" -H "Content-Type: application/json" \
if ! echo '{"username":"'"$SONATYPE_USERTOKEN"'", "password":"'"$SONATYPE_PASSWORDTOKEN"'", "close": "1"}' | curl --data-binary @- -f -XPOST -u "$BINTRAY_USER:$BINTRAY_API_KEY" -H "Content-Type: application/json" \
"https://api.bintray.com/maven_central_sync/$BINTRAY_SUBJECT/$BINTRAY_REPO/$BINTRAY_PACKAGE/versions/$__pom_ver"
then
echo "Failed to sync to maven central!"
Expand Down

0 comments on commit f5864f4

Please sign in to comment.