Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 1.16 KB

PUBLISHING.md

File metadata and controls

23 lines (21 loc) · 1.16 KB

Publishing a new version

If you need to publish a new version of fp-bindgen, please follow the next steps:

  1. 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
  2. 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 the fp-bindgen-support dependency needs to be bumped, the version of the example-bindings itself can stay the same.)
  3. 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.
  4. Commit all the version changes and create a PR for it. Please wait for an approval before continuing to publish the new version.
  5. Run cargo publish in the three crates, in the following order:
    1. macros
    2. fp-bindgen-support
    3. fp-bindgen