Skip to content

Commit a1d7316

Browse files
passyfacebook-github-bot
authored andcommitted
Update maintainer docs (#49)
Summary: Document the new semi-automated workflow. Pull Request resolved: facebookincubator/fbjni#49 Test Plan: _eyes Reviewed By: nikoant Differential Revision: D26607139 Pulled By: passy fbshipit-source-id: 1f335b6b254bd5053c8f63ab872f55254207295a
1 parent 16b6cbe commit a1d7316

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

first-party/fbjni/docs/maintainers.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
1-
## Release Procedure
1+
## Release Procedure (Semi-Automated)
22

3-
In your `~/.gradle/gradle.properties`, set `bintrayUsername` and `bintrayApiKey` values
4-
you can find in your [Bintray profile](https://bintray.com/profile/edit).
3+
1. Bump the `VERSION_NAME` in `gradle.properties`.
4+
2. `hg commit -m 'vx.y.z'`, submit, land.
5+
3. 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).
6+
4. Bump the `VERSION_NAME` to the next patch release and appending `-SNAPSHOT`, commit, land.
7+
8+
## Release Procedure (Manual)
9+
10+
In 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`
515

616
1. Bump the `VERSION_NAME` in `gradle.properties`.
717
2. `hg commit -m 'vx.y.z'`, submit, land.
8-
3. From the checked out GitHub repository, run `./gradlew bintrayUpload` (Android uploads).
9-
4. From the checked out GitHub repository, run `./gradlew -b host.gradle bintrayUpload` (Java-only uploads).
18+
3. From the checked out GitHub repository, run `./gradlew assembleRelease uploadArtifacts` (Android uploads).
19+
4. From the checked out GitHub repository, run `./gradlew -b host.gradle assemble uploadArtifacts` (Java-only uploads).
1020
5. Bump the `VERSION_NAME` to the next patch release and appending `-SNAPSHOT`, commit, land.
1121
6. Tag the release on the [Github release page](https://github.com/facebookincubator/fbjni/releases).

0 commit comments

Comments
 (0)