From defc1cfdccfa770b639a0b41b57b5cef2255c8de Mon Sep 17 00:00:00 2001 From: Derek Ellis Date: Wed, 24 Jan 2024 09:39:24 -0500 Subject: [PATCH] Prepare for release 0.2.2. --- CHANGELOG.md | 2 +- RELEASING.md | 10 ++++++++++ gradle.properties | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 RELEASING.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 2511954..500e313 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [0.2.2] - 2024-01-23 +## [0.2.2] - 2024-01-24 * Upgrade AGP to 8.2.2 diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..7aecb16 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,10 @@ +# Releasing + +1. Change the version in `gradle.properties` to a non-SNAPSHOT verson. +2. Update the `CHANGELOG.md` for the impending release. +3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version) +4. `git tag -a X.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version) +5. Update the `gradle.properties` to the next SNAPSHOT version. +6. `git commit -am "Prepare next development version."` +7. `git push && git push --tags` +8. Wait until the "Publish a release" action completes, then visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifacts. diff --git a/gradle.properties b/gradle.properties index 3919267..5163445 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=app.cash.better.dynamic.features -VERSION_NAME=0.3.0-SNAPSHOT +VERSION_NAME=0.2.2 POM_URL=https://github.com/cashapp/better-dynamic-features/ POM_SCM_URL=https://github.com/cashapp/better-dynamic-features/