File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 3131[ Appendix A: Glossary and terminology] ( ./glossary.md )
3232[ Appendix B: Bibliography] ( ./bibliography.md )
3333[ Appendix C: Incomplete chapters] ( ./todo.md )
34+ [ Appendix D: Publishing Chalk] ( ./publishing.md )
Original file line number Diff line number Diff line change 1+ # Publishing Chalk
2+
3+ ** Note: this is mostly only useful for maintainers**
4+
5+ The following crates get published to crates.io:
6+ - ` chalk-macros `
7+ - ` chalk-derive `
8+ - ` chalk-engine `
9+ - ` chalk-ir `
10+ - ` chalk-rust-ir `
11+ - ` chalk-solve `
12+
13+ The following crates get versioned without publishing:
14+ - ` chalk-parse `
15+ - ` chalk-integration `
16+ - ` chalk ` (root directory)
17+
18+ ## Pre-publish
19+ - Remove the ` -dev ` suffix from the versions in each ` cargo.toml `
20+ - Bump the dependency version for each crate
21+ - Change the ` Unreleased ` section in ` RELEASES.md ` to the version getting published
22+ - Create commit
23+
24+ ## Publishing
25+ - For each crate in the order above, run ` cargo publish `
26+ - You will probably have to wait a couple seconds between each to let the index update
27+
28+ ## Post-publish
29+ - Bump the minor version in each ` cargo.toml ` and add a ` -dev ` suffix
30+ - Bump the dependency version for each crate
31+ - Add an ` Unreleased ` section in the ` RELEASES.md `
32+ - Run ` cargo check `
33+ - Tag release commit on github (e.g. ` v0.10.0 ` )
34+
You can’t perform that action at this time.
0 commit comments