Skip to content

Commit

Permalink
Write releasing steps (#13)
Browse files Browse the repository at this point in the history
Fix doc issues
  • Loading branch information
npresseault authored May 14, 2024
1 parent d579035 commit cb95084
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
21 changes: 21 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Releases steps

1. Checkout `origin/main`.
2. Update the `CHANGELOG.md` file with the changes of this release (the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Copy the template for the next unreleased version at the top.
* Rename the previous unreleased version to the new version.
3. Update the version in `gradle.properties` and remove the `-SNAPSHOT` suffix.
4. Commit the changes, create a tag and push it:
```
git commit -am "Releasing 0.1.0."
git tag 1.0.0
git push && git push --tags
```
5. Run the `release` github action to publish the release to maven.
6. Create a new release on GitHub with the same tag and write release notes.
7. Update the version in `gradle.properties` and add the `-SNAPSHOT` suffix.
8. Commit the change and push it:
```
git commit -am "Prepare next development version."
git push
```
4 changes: 2 additions & 2 deletions buildDocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ cp CHANGELOG.md $DOCS_ROOT/changelog.md
cp LICENSE.md $DOCS_ROOT/license.md
cp CODE_OF_CONDUCT.md $DOCS_ROOT/code-of-conduct.md

sed $SEDOPTION -e 's/LICENSE.md/license/' $DOCS_ROOT/index.md
sed $SEDOPTION -e 's/docs\/\([a-zA-Z-]*\).md/\1/' $DOCS_ROOT/index.md
sed $SEDOPTION -e 's/LICENSE.md/license/g' $DOCS_ROOT/index.md
sed $SEDOPTION -e 's/docs\/\([a-zA-Z-]*\).md/\1/g' $DOCS_ROOT/index.md
6 changes: 3 additions & 3 deletions docs/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ dependencies {

## Limitations

!!! warning This library does not support restoring the state of the navigation stack when the
application is killed and restarted on android. This is a known limitation and is not planned to be
implemented in the future.
!!! warning
This library does not support restoring the state of the navigation stack when the application is killed and restarted on android.
This is a known limitation and is not planned to be implemented in the future.

`Podfile`

Expand Down

0 comments on commit cb95084

Please sign in to comment.