1
0
mirror of synced 2026-08-04 01:07:02 +00:00
Files
spring-security/scripts/release/sync-to-central.sh
T

8 lines
390 B
Bash
Raw Permalink Normal View History

2019-06-19 13:27:35 -06:00
#!/bin/bash
RELEASE_VERSION=$1
BINTRAY_API_KEY=$2
SONATYPE_USER_TOKEN=$3
SONATYPE_USER_TOKEN_PWD=$4
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\"}"