Skip to content

Commit b78568f

Browse files
authored
chore: publish to maven central
1 parent 1de1906 commit b78568f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ jobs:
112112
run: |
113113
echo "Releasing version:" && ./gradlew printVersion clean
114114
ORG_GRADLE_PROJECT_signingKey=$(echo $SIGNING_KEY | base64 -d) ./gradlew publish
115-
./gradlew publish
116115
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
116+
curl -s -f -H "Authorization: Bearer ${auth}" "https://ossrh-staging-api.central.sonatype.com/manual/search/repositories?ip=any&profile_id=org.hypertrace" | jq
117+
curl -f -X POST -H "Authorization: Bearer ${auth}" "https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/org.hypertrace?publishing_type=automatic"
118+
curl -s -f -H "Authorization: Bearer ${auth}" "https://ossrh-staging-api.central.sonatype.com/manual/search/repositories?ip=any&profile_id=org.hypertrace" | jq
118119
env:
119120
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
120121
TERM: dumb

0 commit comments

Comments
 (0)