Skip to content

Commit 1f84e24

Browse files
authored
ci(publishing): Use shim ossrh-staging-api server to publish to the new central repo (#4530)
1 parent 736a33b commit 1f84e24

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
@@ -6,8 +6,8 @@ targets:
66
gradleCliPath: ./gradlew
77
mavenCliPath: scripts/mvnw
88
mavenSettingsPath: scripts/settings.xml
9-
mavenRepoId: ossrh
10-
mavenRepoUrl: https://oss.sonatype.org/service/local/staging/deploy/maven2/
9+
mavenRepoId: ossrh-staging-api
10+
mavenRepoUrl: https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/
1111
android:
1212
distDirRegex: /^(sentry-android-|.*-android).*$/
1313
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)