Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs on how to publish this repo to crates.io #36

Merged
merged 1 commit into from
May 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
To publish the crates follow the following steps:

1. Update the version number in the top level `Cargo.toml` and use the same
version number for the `ocpi-tariffs` dependency in `cli/Cargo.toml`. Have
this reviewed and merged into the main branch.

2. Once that's merged tag the right commit on the main branch and push this tag
to GitHub.

3. Publish the `ocpi-tariffs` crate **first**.

4. Then publish the `cli` crate (because it depends on the `ocpi-tariffs`
crate).

Enjoy the new crates!