Browse Source
Added scripts for pushing released artifacts to the appropriate repositories.pull/8714/head
2 changed files with 13 additions and 0 deletions
@ -0,0 +1,6 @@
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash |
||||
|
||||
BUILD_NUMBER=$1 |
||||
ENCRYPTED_ARTIFACTORY_PWD=$2 |
||||
export ARTIFACTORY_BUILD_API_URL=https://repo.spring.io/api/build/distribute/Spring%20Security%20-%204.2.x%20-%20Default%20Job/$BUILD_NUMBER |
||||
curl -i -u buildmaster:$ENCRYPTED_ARTIFACTORY_PWD -XPOST $ARTIFACTORY_BUILD_API_URL -H "Content-Type: application/json" -d '{"sourceRepos": ["libs-release-local"], "targetRepo": "spring-distributions"}' |
||||
@ -0,0 +1,7 @@
@@ -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\"}" |
||||
Loading…
Reference in new issue