正在显示
2 个修改的文件
包含
10 行增加
和
16 行删除
| @@ -23,7 +23,7 @@ kotlin.code.style=official | @@ -23,7 +23,7 @@ kotlin.code.style=official | ||
| 23 | ############################################################### | 23 | ############################################################### |
| 24 | 24 | ||
| 25 | GROUP=io.livekit | 25 | GROUP=io.livekit |
| 26 | -VERSION_NAME=1.2.0 | 26 | +VERSION_NAME=1.2.1 |
| 27 | 27 | ||
| 28 | POM_DESCRIPTION=LiveKit Android SDK, WebRTC Rooms | 28 | POM_DESCRIPTION=LiveKit Android SDK, WebRTC Rooms |
| 29 | 29 |
| 1 | -## Publishing releases | 1 | +# Releasing |
| 2 | 2 | ||
| 3 | -1. Ensure you have your `.gradle/gradle.properties` filled with the requisite credentials: | ||
| 4 | - | ||
| 5 | -```` | ||
| 6 | -nexusUsername=<sonatype username> | ||
| 7 | -nexusPassword=<sonatype password> | ||
| 8 | -signing.keyId=<signing key id> | ||
| 9 | -signing.password=<signing key password> | ||
| 10 | -signing.secretKeyRingFile=<signing pgp key path> | ||
| 11 | -```` | ||
| 12 | - | ||
| 13 | -2. Update `VERSION_NAME` in `gradle.properties` to reflect the release version. (Remove "-SNAPSHOT" when releasing.) | ||
| 14 | -3. Run `gradle publish` to upload to Sonatype. | ||
| 15 | -4. Run `gradle closeAndReleaseRepository` to release to Maven (do not combine with previous command as ordering isn't guaranteed.) | ||
| 16 | -5. Update `VERSION_NAME` in `gradle.properties` to prepare for next release version. | 3 | +1. In the top-level gradle.properties file, update the `VERSION_NAME` property. This will usually just be removing the `-SNAPSHOT` suffix. |
| 4 | +1. Commit and push changes. | ||
| 5 | +1. Tag the release: `git tag v[VERSION_NAME]`. Make sure there is a `v` prefix at the front of the tag. This indicates to the CI that this is a release tag. | ||
| 6 | +1. Push tags: `git push --tags` | ||
| 7 | +1. Confirm that the `publish` github action is completed successfully. | ||
| 8 | +1. Add a new GitHub release with change logs. | ||
| 9 | +1. Prepare the version for the next release by bumping the `VERSION_NAME` property and adding the `-SNAPSHOT` suffix. | ||
| 10 | +1. Additionally update the version names in README.md. |
-
请 注册 或 登录 后发表评论