Publishing compiler-builtins
to crates.io takes a few steps unfortunately.
It's not great, but it works for now. PRs to improve this process would be
greatly appreciated!
- Make sure you've got a clean working tree and it's updated with the latest
changes on
master
- Edit
Cargo.toml
to bump the version number - Commit this change
- Run
git tag
to create a tag for this version - Delete the
libm/Cargo.toml
file - Comment out the
[dev-dependencies]
section ofCargo.toml
- Run
cargo +nightly publish --allow-dirty
- Push the tag
- Push the commit
- Undo changes to
Cargo.toml
and thelibm
submodule