|
4 | 4 | 2. Update `CHANGELOG.md` for the impending release.
|
5 | 5 | 3. Update the `README.md` with the new version.
|
6 | 6 | 4. `git commit -am "Prepare for release View|Compose X.Y.Z"` (where X.Y.Z is the version you set in step 1)
|
7 |
| -5. `git push` |
| 7 | +5. `./gradlew spotlessApply check` |
8 | 8 | 6. `./gradlew clean assembleRelease`
|
9 |
| -7. `./gradlew :library-view:publishReleasePublicationToSonatypeRepository` |
10 |
| -8. `./gradlew :library-compose:publishReleasePublicationToSonatypeRepository` |
11 |
| -9. Create a new release on Github |
12 |
| - 1. Tag View version `X.Y.Z` (`git tag -s view-X.Y.Z && git push --tags`) |
13 |
| - 2. Tag Compose version `X.Y.Z` (`git tag -s compose-X.Y.Z && git push --tags`) |
14 |
| - 3. Release title (`View X.Y.Z` or `Compose X.Y.Z`) |
15 |
| - 4. Paste the content from `CHANGELOG.md` as the description |
16 |
| - 5. Upload the sample-release.apk |
17 |
| -10. Create a PR from [master](../../tree/master) to [release](../../tree/release) |
18 |
| -11. Visit [Sonatype](https://s01.oss.sonatype.org/#stagingRepositories) and Close and Release the artifact |
19 |
| -12. Visit [Google Play Console](https://play.google.com/apps/publish/) and upload and publish the new APK |
| 9 | +7. `git push` |
| 10 | +8. `./gradlew :library-view:publishReleasePublicationToSonatypeRepository` |
| 11 | +9. `./gradlew :library-compose:publishReleasePublicationToSonatypeRepository` |
| 12 | +10. Create a new release on Github |
| 13 | + 1. Tag View version `X.Y.Z` (`git tag -s view-X.Y.Z && git push --tags`) |
| 14 | + 2. Tag Compose version `X.Y.Z` (`git tag -s compose-X.Y.Z && git push --tags`) |
| 15 | + 3. Release title (`View X.Y.Z` or `Compose X.Y.Z`) |
| 16 | + 4. Paste the content from `CHANGELOG.md` as the description |
| 17 | + 5. Upload the sample-release.apk |
| 18 | +11. Create a PR from [master](../../tree/master) to [release](../../tree/release) |
| 19 | +12. Visit [Sonatype](https://s01.oss.sonatype.org/#stagingRepositories) and Close and Release the artifact |
| 20 | +13. Visit [Google Play Console](https://play.google.com/apps/publish/) and upload and publish the new APK |
0 commit comments