2023-01-22 13:06:22 +01:00
|
|
|
Checklist for new releases
|
|
|
|
=======
|
|
|
|
|
|
|
|
# Pre-Release
|
|
|
|
|
|
|
|
1. Make sure any new modules are documented sufficiently enough and check docs with
|
2024-06-25 16:07:07 +02:00
|
|
|
`RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --all-features --open`
|
|
|
|
or `cargo +nightly doc --all-features --config 'build.rustdocflags=["--cfg", "docsrs" --generate-link-to-definition"]' --open`
|
|
|
|
(was problematic on more recent nightly versions).
|
2023-01-22 13:06:22 +01:00
|
|
|
2. Bump version specifier in `Cargo.toml`.
|
|
|
|
3. Update `CHANGELOG.md`: Convert `unreleased` section into version section with date and add new
|
|
|
|
`unreleased` section.
|
2024-04-04 14:12:33 +02:00
|
|
|
4. Run `cargo test --all-features` or `cargo nextest r --all-features` together with
|
|
|
|
`cargo test --doc`.
|
2023-01-22 13:06:22 +01:00
|
|
|
5. Run `cargo fmt` and `cargo clippy`. Check `cargo msrv` against MSRV in `Cargo.toml`.
|
|
|
|
6. Wait for CI/CD results for EGit and Github. These also check cross-compilation for bare-metal
|
|
|
|
targets.
|
|
|
|
|
2023-08-28 18:56:08 +02:00
|
|
|
# Release
|
|
|
|
|
|
|
|
1. `cargo publish`
|
|
|
|
|
2023-01-22 13:06:22 +01:00
|
|
|
# Post-Release
|
|
|
|
|
|
|
|
1. Create a new release on `EGit` based on the release branch.
|