This is a guide for the maintainers of the crate
The release is managed by a GitHub Action pipeline that is triggered when a new release is created on GitHub.
These are the steps that are recommended in order to create a new release of the crate:
- Make sure all the changes that you want to release have been correctly merged to the
main
branch. - Choose the crate you want to release. It can be
dgc
ordgc-italy-core
. - Make sure the crate version has been bumped in
Cargo.toml
following the rules of Semantic Versioning - Create a new release targeting the latest commit in
main
:- Name the release using the name of the crate and the version number you want to publish, separated by a slash (e.g.
dgc/0.1.0
) - Create a new tag with the same name (e.g.
dgc/0.1.0
) - Create a description for the release describing all the changes from the previous release (you can use the Auto-generate release notes feature from GitHub to speed up this process)
- Name the release using the name of the crate and the version number you want to publish, separated by a slash (e.g.
- Publish the release and check the that the related GitHub action is triggered and completes successfully.
- A new release should now be available on crates.io! 🥳🍻