Automate publication of gradle plugin

Closes gh-27079
This commit is contained in:
Madhura Bhave
2021-06-29 08:21:25 -07:00
parent 618c1e42e2
commit 44b0bd43a4
4 changed files with 49 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
source $(dirname $0)/common.sh
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' )
git-repo/gradlew publishExisting -p git-repo/config/gradle-plugin-publishing -Pgradle.publish.key=${GRADLE_PUBLISH_KEY} -Pgradle.publish.secret=${GRADLE_PUBLISH_SECRET} -PbootVersion=${version} -PrepositoryRoot=$(pwd)/artifactory-repo