From b78568f4b12b47d82e4500bda6a3417fe4c29725 Mon Sep 17 00:00:00 2001 From: Ravi Singal <62086374+ravisingal@users.noreply.github.com> Date: Fri, 29 Aug 2025 16:10:48 +0530 Subject: [PATCH] chore: publish to maven central --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index aa6d016a..ac520012 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -112,9 +112,10 @@ jobs: run: | echo "Releasing version:" && ./gradlew printVersion clean ORG_GRADLE_PROJECT_signingKey=$(echo $SIGNING_KEY | base64 -d) ./gradlew publish - ./gradlew publish auth=$(echo -n "${ORG_GRADLE_PROJECT_ossrhUsername}:${ORG_GRADLE_PROJECT_ossrhPassword}" | base64) - curl -f -X POST -H "Authorization: Bearer ${auth}" https://ossrh-staging-api.central.sonatype.com/manual/upload/repository/org.hypertrace + curl -s -f -H "Authorization: Bearer ${auth}" "https://ossrh-staging-api.central.sonatype.com/manual/search/repositories?ip=any&profile_id=org.hypertrace" | jq + curl -f -X POST -H "Authorization: Bearer ${auth}" "https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/org.hypertrace?publishing_type=automatic" + curl -s -f -H "Authorization: Bearer ${auth}" "https://ossrh-staging-api.central.sonatype.com/manual/search/repositories?ip=any&profile_id=org.hypertrace" | jq env: 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 TERM: dumb