From d926eef7e7b753c1d47b64cf78206436ba70087a Mon Sep 17 00:00:00 2001 From: Gabriel Ittner Date: Mon, 13 Jun 2022 13:22:45 +0200 Subject: [PATCH] Prepare for release 0.13.0. --- README.md | 10 +++++----- RELEASING.md | 11 +++++++++++ gradle.properties | 2 +- 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 RELEASING.md diff --git a/README.md b/README.md index ec802fe3..04b563d5 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ class MyStateMachine : FlowReduxStateMachine(LoadingState){ // observes the given flow as long as state is ContentState. // Once state is changed to another state the flow will automatically // stop emitting. - MutateState { + MutateState { copy( items = this.items + Item("New item $value")) } } @@ -103,14 +103,14 @@ There are two artifacts that you can include as dependency: ### Multiplatform ```groovy -implementation 'com.freeletics.flowredux:flowredux:0.12.0' -implementation 'com.freeletics.flowredux:compose:0.12.0' +implementation 'com.freeletics.flowredux:flowredux:0.13.0' +implementation 'com.freeletics.flowredux:compose:0.13.0' ``` ### JVM / Android only ```groovy -implementation 'com.freeletics.flowredux:flowredux-jvm:0.12.0' -implementation 'com.freeletics.flowredux:compose:0.12.0' +implementation 'com.freeletics.flowredux:flowredux-jvm:0.13.0' +implementation 'com.freeletics.flowredux:compose:0.13.0' ``` ### JavaScript diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 00000000..4b144544 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,11 @@ +Releasing +======== + + 1. Change the version in `gradle.properties` to a non-SNAPSHOT version. + 2. Update the `README.md` with the new version. + 3. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version) + 4. `git tag -a X.Y.X -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. Create a Github Release diff --git a/gradle.properties b/gradle.properties index 732cda8b..918c0550 100644 --- a/gradle.properties +++ b/gradle.properties @@ -18,7 +18,7 @@ SONATYPE_HOST=DEFAULT RELEASE_SIGNING_ENABLED=true GROUP=com.freeletics.flowredux -VERSION_NAME=0.12.1-SNAPSHOT +VERSION_NAME=0.13.0 POM_INCEPTION_YEAR=2019