There are 3 packages published to crates.io: canbench, canbench-rs, and canbench-rs-macros.
Before publishing them, you should create a PR to bump the versions of the packages, and then cut a new release on GitHub after the PR with the new versions is merged. Let's say it's version vX.X.X.
Here's an example PR bumping the versions: #71.
- Identify the commit for the release, e.g.
aff3eef. - Draft a new pre-release:
- Click on Draft a new release at the releases page, and make sure the correct commit is selected.
- Create a new tag named
vX.X.X. - Set the title to
vX.X.X. - Choose the previous tag as the last release.
- Add release notes. GitHub can generate them by clicking Generate release notes, modify as needed.
- Click Publish release when ready.
- On the repository main page, navigate to the
Actionstab. - Click on the workflow to publish to crates.io
- Click on
run workflowand select the version tag created above for the workflow to run on.