Skip to content

Commit 8818327

Browse files
authored
chore: upgrade publish-maven-central-plugin version (#429)
* chore: upgrade publish-maven-central-plugin version * upload to central publisher portal
1 parent 7d81606 commit 8818327

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ jobs:
113113
echo "Releasing version:" && ./gradlew printVersion clean
114114
ORG_GRADLE_PROJECT_signingKey=$(echo $SIGNING_KEY | base64 -d) ./gradlew publish
115115
./gradlew closeAndReleaseRepository
116+
auth=$(echo -n "${ORG_GRADLE_PROJECT_ossrhUsername}:${ORG_GRADLE_PROJECT_ossrhPassword}" | base64)
117+
curl -f -X POST -H "Authorization: Bearer ${auth}" https://ossrh-staging-api.central.sonatype.com/manual/upload/repository/org.hypertrace
116118
env:
117119
JVM_OPTS: -Xmx1g --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED
118120
TERM: dumb

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import org.hypertrace.gradle.publishing.License.APACHE_2_0;
22

33
plugins {
44
id("com.diffplug.spotless") version "5.2.0" apply false
5-
id("org.hypertrace.publish-maven-central-plugin") version "1.1.1"
5+
id("org.hypertrace.publish-maven-central-plugin") version "1.1.2"
66
id("org.hypertrace.ci-utils-plugin") version "0.4.0"
77
id("org.gradle.test-retry") version "1.5.0" apply false
88
id("org.owasp.dependencycheck") version "7.1.1"

0 commit comments

Comments
 (0)