mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-08-06 01:23:36 +00:00
8 lines
390 B
Bash
Executable File
8 lines
390 B
Bash
Executable File
#!/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\"}"
|