493b05e6fd
Signed-off-by: Matt Ramotar <mramotar@dropbox.com>
1.7 KiB
1.7 KiB
Releasing
- Change the version in top level
gradle.properties
to a non-SNAPSHOT version. - Update the
cocoapods
version inbuild.gradle.kts
in:store
. - Modify
create_swift_package.yml
workflow. - Update the
CHANGELOG.md
for the impending release. - Update the
README.md
with the new version. git commit -sam "Prepare for release X.Y.Z."
(where X.Y.Z is the new version)git tag -a X.Y.X -m "Version X.Y.Z"
(where X.Y.Z is the new version)- Run
git tag
to verify it.
- Run
git push && git push --tags
- This should be pushed to your fork.
- Create a PR with this commit and merge it.
- Update the top level
build.gradle
to the next SNAPSHOT version. - Modify
create_swift_package.yml
workflow to only run manually. git commit -am "Prepare next development version."
- Create a PR with this commit and merge it.
- Login to Sonatype to promote the artifacts https://central.sonatype.org/pages/releasing-the-deployment.html
- This part is automated. If it fails in CI, follow the steps below.
- Click on Staging Repositories under Build Promotion
- Select all the Repositories that contain the content you want to release
- Click on Close and refresh until the Release button is active
- Click Release and submit
- Update the sample module's
build.gradle
to point to the newly released version. (It may take ~2 hours for artifact to be available after release)