Skip to content

Commit 8443efd

Browse files
committed
ci(publishing): Use shim ossrh-staging-api server to publish to the new central repo (#4530)
1 parent f8b9b25 commit 8443efd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.craft.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ targets:
1010
gradleCliPath: ./gradlew
1111
mavenCliPath: scripts/mvnw
1212
mavenSettingsPath: scripts/settings.xml
13-
mavenRepoId: ossrh
14-
mavenRepoUrl: https://oss.sonatype.org/service/local/staging/deploy/maven2/
13+
mavenRepoId: ossrh-staging-api
14+
mavenRepoUrl: https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/
1515
android:
1616
distDirRegex: /^(sentry-android-|.*-android).*$/
1717
fileReplaceeRegex: /\d+\.\d+\.\d+(-\w+(\.\d+)?)?(-SNAPSHOT)?/

scripts/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
https://maven.apache.org/xsd/settings-1.0.0.xsd">
55
<servers>
66
<server>
7-
<id>ossrh</id>
7+
<id>ossrh-staging-api</id>
88
<username>${env.OSSRH_USERNAME}</username>
99
<password>${env.OSSRH_PASSWORD}</password>
1010
</server>

0 commit comments

Comments
 (0)