forked from rust-embedded-community/serde-json-core
-
Notifications
You must be signed in to change notification settings - Fork 15
Publishing
Simon Warta edited this page Dec 6, 2022
·
10 revisions
- Update
Cargo.toml
andCHANGELOG.md
to the new version. - Update lockfile:
cargo check
git commit -m "Set version: XXXXXX"
- Login to crates.io with your Github username. If you are a new user, you'll need to login and go to https://crates.io/me to verify your email address, and generate a new token. You can then
cargo login <token>
. -
cargo publish
. If it fails, you need to verify your email first, and/or be invited as an owner of the project. -
git tag vXXXXXX
(mind the leadingv
) git push && git push --tags