If you need to publish a new version of fp-bindgen
, please follow the next
steps:
- Make sure you are logged in with your
Crates.io
account to the Cargo CLI: https://doc.rust-lang.org/cargo/reference/publishing.html#before-your-first-publish - Update all references to the version number in the project. At the time of
writing, these are the files containing the version number:
Cargo.toml
examples/example-protocol/src/asserts/rust_plugin_test/expected_Cargo.toml
(only the version of thefp-bindgen-support
dependency needs to be bumped, the version of theexample-bindings
itself can stay the same.)
- Make sure the CHANGELOG is up-to-date with all the updates
since the last version (run
git log
to look at all of the unpublished commits), and change the[Unreleased]
section to the new to-be-released version number. - Commit all the version changes and create a PR for it. Please wait for an approval before continuing to publish the new version.
- Run
cargo publish
in the three crates, in the following order:macros
fp-bindgen-support
fp-bindgen