sync-to-central.sh 390 B

1234567
  1. #!/bin/bash
  2. RELEASE_VERSION=$1
  3. BINTRAY_API_KEY=$2
  4. SONATYPE_USER_TOKEN=$3
  5. SONATYPE_USER_TOKEN_PWD=$4
  6. curl -i -u spring-operator:$BINTRAY_API_KEY -XPOST "https://api.bintray.com/maven_central_sync/spring/jars/org.springframework.security/versions/$RELEASE_VERSION" -H "Content-Type: application/json" -d "{\"username\": \"$SONATYPE_USER_TOKEN\", \"password\": \"$SONATYPE_USER_TOKEN_PWD\"}"