Release Scripts
Added scripts for pushing released artifacts to the appropriate repositories.
This commit is contained in:
7
scripts/release/sync-to-central.sh
Executable file
7
scripts/release/sync-to-central.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/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\"}"
|
||||
Reference in New Issue
Block a user