Skip to content

Commit 5a49035

Browse files
committed
Enable automatic publishing
1 parent 1f4d941 commit 5a49035

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
curl --request POST \
6969
--header 'Authorization: Bearer ${{ secrets.CENTRAL_AUTH }}' \
7070
--form bundle=@powersync_android.zip \
71-
https://central.sonatype.com/api/v1/publisher/upload
72-
71+
'https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC'
72+
7373
- name: Upload binary
7474
uses: ./.github/actions/upload
7575
with:

RELEASING.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,7 @@ The above does the following:
2828

2929
1. Create a draft GitHub release.
3030
2. Build the xcframework for iOS and macOS, and upload to GitHub (attached to the above release).
31-
3. Build and publish an Android aar to Sonatype staging.
32-
33-
Once that is done, go to the Maven staging repository, and "Close", wait, and "Release" the
34-
repository:
35-
36-
https://s01.oss.sonatype.org/#stagingRepositories
37-
38-
Docs: https://central.sonatype.org/publish/release/
39-
40-
Go to GitHub Releases on the repository, update the description, then "Publish Release".
31+
3. Build and publish an Android aar to Sonatype. Afterwards,you can monitor the status of the publishing step [here](https://central.sonatype.com/publishing/deployments).
4132

4233
Publish the cocoapod:
4334

0 commit comments

Comments
 (0)