You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TODO: Consider instead making tag-specific commits that check-in the artifacts. For now, the
19
-
seamless AAR reproducibility makes this a non-issue.
20
-
-->
21
-
*`--allow-dirty` is required because we don't check-in the generated Maven local repository at this time.
30
+
*`--allow-dirty` is required because we don't check-in the generated Maven local repository.
22
31
6. (Optional) Inspect extracted archive to ensure the local Maven repository artifacts are present
23
32
1. Un-tar the `rustls-platform-verifier-android-*.crate` file inside of `target/package`.
24
33
2. Verify `maven/rustls/rustls-platform-verifier` contains a single `*.RELEASE` directory and that contains a `.aar` file.
25
34
3. (Optional) If the releaser has an external Gradle project that uses the configuration from the README, paste the path to the
26
35
unzipped package's `Cargo.toml` as a replacement for the `manifestPath` variable. Run a Gradle Sync and observe everything works.
27
-
7. Publish the Android artifacts' new version: `cargo publish -p rustls-platform-verifier-android --alow-dirty`
36
+
7.**Ensure that all version changes are committed to the correct branch before proceeding**. All version increases should be checked in prior
37
+
to publishing on crates.io.
38
+
8. Publish the Android artifacts' new version: `cargo publish -p rustls-platform-verifier-android --alow-dirty`
39
+
28
40
3. Commit main crate's version increase on the release branch
29
-
4. Publish the main crate's new version: `cargo publish -p rustls-platform-verifier`
41
+
4.**Ensure that all version changes are committed to the correct branch before proceeding**. All version increases should be checked in prior
42
+
to publishing on crates.io.
43
+
5. Publish the main crate's new version: `cargo publish -p rustls-platform-verifier`
30
44
* Do **not** use `--allow-dirty` for the main crate. Only the Android component requires it and a dirty workspace elsewhere is an error.
31
-
32
-
See the Rustls repo [RELEASING] guidance for more information (e.g. on best practices for creating a GitHub release with a changelog).
45
+
6. Follow the remaining steps in [RELEASING] to create the appropiate version tag.
46
+
7. If a new Android component release was made: Before publishing the GitHub release, run `./ci/archive_android_release.sh` to create a reproducible archive
47
+
containing the Android Maven components that were just published to crates.io. After creating the archive, upload it as an additional release artifact on GitHub.
0 commit comments