Files
RIBs/RELEASING.md
2021-11-08 18:17:36 -08:00

34 lines
1.1 KiB
Markdown
Executable File

Releasing
=========
Android
-------
1. Change the version in `gradle.properties` to a non-SNAPSHOT version.
2. Update the `README.md` with the new version.
3. Update the `CHANGELOG.md` for the impending release.
4. `git commit -am "Prepare for release X.Y.Z."` (where X.Y.Z is the new version)
5. `git tag -a X.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version)
6. `./gradlew clean publish --no-daemon --no-parallel && ./gradlew closeAndReleaseRepository`
7. Update the `gradle.properties` to the next SNAPSHOT version.
8. `git commit -am "Prepare next development version."`
9. `git push && git push --tags`
iOS
---
Releasing
=========
Note: This may vary based on your distribution mechanism. Assuming CocoaPods:
1. Change the version in `Name.podspec` to reflect a new version.
2. Update the `CHANGELOG.md` for the impending release.
3. Update the `README.md` with the new version.
4. Verify formatting with swiftlint (swiftformat.sh)
5. `git commit -am "Release X.Y.Z."` (where X.Y.Z is the new version)
6. `git tag "X.Y.Z"` (where X.Y.Z is the new version)
7. `git push --tags`
8. `pod trunk push Name.podspec`