- Create PR with following changes:
- Update version in
gradle.properties
. - Create a new section with version name taking all changes from pending section.
- Update version in
- Create GitHub release with a tag name of the version and fill notes from pending changes section.
- Library is published to staging repository automatically with GitHub Action.
- Proceed to 'Closing staging repository'.
In case of any issues you can launch Release manually from GitHub Actions tab.
Should be used in case if there are issues with automatic publication.
- Create PR with following changes:
- Update version in
gradle.properties
. - Create a new section with version name taking all changes from pending section.
- Update version in
./gradle publishAppyxReleasePublicationToOSSRHRepository --no-parallel -Psigning.keyId=$KEY_ID -Psigning.password=$PASS -Psigning.secretKeyRingFile=$FILE -Psonatype.username=$NAME -Psonatype.password=$PASS
signing
properties are related to signing information.sonatype
properties are your username and password fromoss.sonatype.org
.--no-parallel
is required to avoid creation of multiple staging repositories.
- Create GitHub release with a tag name of the version and fill notes from pending changes section.
- Cancel Release GitHub Action as it will fail now because version is already released.
- Proceed to 'Closing staging repository'.
- Open
https://s01.oss.sonatype.org
and sign in with the sonatype credentials. - Click
Staging Repositories
. - Select the repository (assuming publish succeeded) and click the close button.
- Select the repository again and click release.