881 B
881 B
This document explains how to perform the project's maintenance tasks.
Creating a new release
Artifacts
- a tag of the version number
- a new crate version
Process
To generate all the artifacts above, one proceeds as follows:
git checkout -b release-<next-version>
- move to a branch to prepare making changes to the repository. Changes cannot be made tomain
as it is protected.- Edit
Cargo.toml
to the next package version. gh pr create
to create a new PR for the current branch and get it merged.cargo publish
to create a new release oncrates.io
.git tag <next-version>
to remember the commit.git push --tags
to push the new tag.- Go to the newly created release page on GitHub and edit it by pressing the "Generate Release Notes" and the
@
button. Save the release.