forked from rust-embedded-community/serde-json-core
-
Notifications
You must be signed in to change notification settings - Fork 17
Publishing
Mauro Lacy edited this page Jan 14, 2021
·
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
-
cargo publish
. If it fails, you need to verify your email first, and/or be invited as an owner of the project to be able to publish. -
git tag vXXXXXX
(mind the leadingv
) git push && git push --tags