-
Notifications
You must be signed in to change notification settings - Fork 4
Publishing
Simon Warta edited this page Dec 29, 2022
·
3 revisions
export NEW_NOIS_VERSION="0.6.0-beta.2"
- Update version in
Cargo.toml
and lockfile:$(command -v gsed || echo sed) -i "s/^version =.*/version = \"$NEW_NOIS_VERSION\"/" Cargo.toml && cargo check
git add Cargo.toml Cargo.lock && git commit -m "Set version: $NEW_NOIS_VERSION"
- Run
git tag "v$NEW_NOIS_VERSION"
and ensure everything looks fine in the git history - Publish to crates.io:
cargo publish
git push && git push --tags