Skip to content
This repository was archived by the owner on Dec 29, 2023. It is now read-only.

Release Workflow

Daniel Goertzen edited this page Jun 20, 2018 · 3 revisions

Notes for releasing erlang_nif-sys:

  • cargo install cargo-release
  • cargo release --dry-run
  • cargo release

Old version, before cargo release:

  • Ensure current Rust is installed.

  • cargo clean

  • Bump version number in cargo.toml.

  • cargo test

  • git tag <version>

  • Commit branch then push branch and tag.

  • cargo doc

  • ghp-import -p target/doc (commits and pushes documentation)

  • Login at https://crates.io/

  • Open Account Settings to get login command (something like cargo login asdkhfjskhfd). Run it.

  • cargo package. Inspect resulting target/package/*.crate file for sensible size.

  • cargo publish. Visit https://crates.io/crates/ruster_unsafe/, make sure everything looks right.

Clone this wiki locally