xref: /aosp_15_r20/external/fbjni/docs/maintainers.md (revision 65c59e023c5336bbd4a23be7af78407e3d80e7e7)
1## Release Procedure (Semi-Automated)
2
31. Bump the `VERSION_NAME` in `gradle.properties`.
42. `hg commit -m 'vx.y.z'`, submit, land.
53. Create a new release on the [Github release page](https://github.com/facebookincubator/fbjni/releases). This triggers a [release action](https://github.com/facebookincubator/fbjni/actions/workflows/release.yml).
64. Bump the `VERSION_NAME` to the next patch release and appending `-SNAPSHOT`, commit, land.
7
8## Release Procedure (Manual)
9
10In your `~/.gradle/gradle.properties`, set:
11    - `SONATYPE_NEXUS_USERNAME`, `SONATYPE_NEXUS_PASSWORD` (you can find these on https://oss.sonatype.org/#profile;User%20Token)
12    - `signing.secretKeyRingFile` (to your secring.gpg)
13    - `signing.keyId` (Check `gpg --list-secret-keys`)
14    - `signing.password`
15
161. Bump the `VERSION_NAME` in `gradle.properties`.
172. `hg commit -m 'vx.y.z'`, submit, land.
183. From the checked out GitHub repository, run `./gradlew assembleRelease uploadArtifacts` (Android uploads).
194. From the checked out GitHub repository, run `./gradlew -b host.gradle assemble uploadArtifacts` (Java-only uploads).
205. Bump the `VERSION_NAME` to the next patch release and appending `-SNAPSHOT`, commit, land.
216. Tag the release on the [Github release page](https://github.com/facebookincubator/fbjni/releases).
22