Skip to content

Commit 29893c9

Browse files
authored
ci(publishing): Use shim ossrh-staging-api server to publish to the new central repo (#414)
* Update settings.xml * Update .craft.yml
1 parent 282c93d commit 29893c9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.craft.yml

Lines changed: 5 additions & 5 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)?/
@@ -21,13 +21,13 @@ targets:
2121
gradleCliPath: ./gradlew
2222
mavenCliPath: scripts/mvnw
2323
mavenSettingsPath: scripts/settings.xml
24-
mavenRepoId: ossrh
25-
mavenRepoUrl: https://oss.sonatype.org/service/local/staging/deploy/maven2/
24+
mavenRepoId: ossrh-staging-api
25+
mavenRepoUrl: https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/
2626
android: false
2727
includeNames: /sentry-kotlin-multiplatform-gradle-plugin.*$/
2828
- name: github
2929
- name: registry
3030
sdks:
3131
maven:io.sentry:sentry-kotlin-multiplatform:
32-
# maven:io.sentry:sentry-kotlin-multiplatform-gradle-plugin:
32+
maven:io.sentry:sentry-kotlin-multiplatform-gradle-plugin:
3333

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)