Tweak release instructions based on 0.0.4 experience

This commit is contained in:
Nick Mathewson 2022-01-31 11:35:40 -05:00
parent 329bde58dd
commit a7df9ca0a5
1 changed files with 13 additions and 0 deletions

View File

@ -14,6 +14,9 @@
* ./maint/check_licenses.sh
* ./maint/readmes.sh
(Note that not all of the above will make changes on their own; you'll
need to understand the output and decide what to do.)
3. Then make sure that CI passes. *Also ensure we've run tests for all
possible Cargo feature combinations, as per arti#303.*
@ -26,8 +29,18 @@
thing here, but `cargo set-version --workspace --bump patch` doesn't
update dependent crates correctly.
To bump the patch version of _every_ crate, run:
; for crate in $(./maint/list_crates.py); do cargo set-version -p "$crate" --bump patch; done
To find only the crates that changed since version 0.0.x, you can run:
; ./maint/changed_crates.sh arti-v0.0.x
But note that you can't just bump _only_ the crates that changed! Any
crate that depends on one of those might now count as changed, even if
it wasn't changed before.
5. Then make sure that CI passes, again.
6. From lowest-level to highest-level, we have to run cargo publish. For