mirror of
https://github.com/uber/RIBs.git
synced 2026-06-16 12:54:31 +00:00
34 lines
1.1 KiB
Markdown
Executable File
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 `CHANGELOG.md` for the impending release.
|
|
3. Update the `README.md` with the new version.
|
|
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 uploadArchives`
|
|
7. Update the `gradle.properties` to the next SNAPSHOT version.
|
|
8. `git commit -am "Prepare next development version."`
|
|
9. `git push && git push --tags`
|
|
10. Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact.
|
|
|
|
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`
|
|
|