forked from matthiaskrgr/cargo-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release_checklist.txt
46 lines (42 loc) · 1.19 KB
/
release_checklist.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
git grep TODO
git grep FIXME
# check for unused deps
cargo udeps # check for unused deps
cargo about init
cargo about generate about.hbs > license.html # make sure all dep licences are ok
# check build times
cargo build --release -Ztimings
cargo clean
cargo build --release -Ztimings --all-targets --all-features
#
codespell -L mut,crate src tests -i 3 -w
cargo rustdoc --open
update dependencies
cargo check
cargo build
cargo build --release
git clean -dffx
cargo check --no-default-features --features ci-autoclean
git clean -dffx
cargo test
git clean -dffx
cargo test --release
cargo audit
cargo clippy --all-targets --all-features
cargo clippy --no-default-features --features ci-autoclean
cargo clippy --all-targets --features default
cargo fmt --all
#
git log `git tag | tail -n1`..HEAD
make sure changelog is up to date ^cmd
make sure readme is up to date ( check --help extract in readme!)
make sure CI catches up and everything is green
update version / Cargo.toml Cargo.lock CHANGELOG.md
write release notes
cargo publish --dry-run
cargo publish
post release:
add git tag # git tag 1.2.3 HEAD
add hash of tag to changelog
make sure tag is pushed! // git push origin HEAD --tags
re-add changelog git section