Skip to content

Commit 14d1df9

Browse files
authored
Migrate to Sonatype Central Portal (#182)
1 parent a497120 commit 14d1df9

File tree

5 files changed

+17
-9
lines changed

5 files changed

+17
-9
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- run: ./gradlew publish
4141
if: github.ref == 'refs/heads/trunk'
4242
env:
43-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME_APP_CASH }}
44-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD_APP_CASH }}
43+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
44+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
4545
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
4646
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }}

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
- name: Build and publish artifacts
3131
run: ./gradlew build publish
3232
env:
33-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME_APP_CASH }}
34-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD_APP_CASH }}
33+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }}
34+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }}
3535
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SECRET_KEY }}
3636
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_SECRET_PASSPHRASE }}
3737

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22

33
## [Unreleased]
44

5+
Changed:
56

6-
## [0.1.0] - 2020-08-17
7+
- In-development snapshots are now published to the Central Portal Snapshots repository at https://central.sonatype.com/repository/maven-snapshots/.
8+
9+
10+
## [1.0.0] - 2020-08-17
711

812
Initial release forked from SQLBrite.
913

1014

11-
[Unreleased]: https://github.com/cashapp/turbine/compare/1.0.0...HEAD
12-
[1.0.0]: https://github.com/cashapp/turbine/releases/tag/1.0.0
15+
[Unreleased]: https://github.com/cashapp/copper/compare/1.0.0...HEAD
16+
[1.0.0]: https://github.com/cashapp/copper/releases/tag/1.0.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ implementation 'app.cash.copper:copper-rx2:1.0.0'
2424
```
2525

2626
<details>
27-
<summary>Snapshots of the development version are available in Sonatype's snapshots repository.</summary>
27+
<summary>Snapshots of the development version are available in the Central Portal Snapshots repository.</summary>
2828
<p>
2929

3030
```groovy
3131
repositories {
3232
maven {
33-
url 'https://oss.sonatype.org/content/repositories/snapshots/'
33+
url 'https://central.sonatype.com/repository/maven-snapshots/'
3434
}
3535
}
3636
dependencies {

gradle.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
GROUP=app.cash.copper
22
VERSION_NAME=1.1.0-SNAPSHOT
33

4+
SONATYPE_AUTOMATIC_RELEASE=true
5+
SONATYPE_HOST=CENTRAL_PORTAL
6+
RELEASE_SIGNING_ENABLED=true
7+
48
POM_DESCRIPTION=A content provider wrapper for reactive queries.
59

610
POM_URL=http://github.com/cashapp/copper/

0 commit comments

Comments
 (0)