Release Process
Regular Releases
To release a new version of HERMES when a new set of features and/or fixes have been merged, execute the following steps:
Please create a branch
release/v<version>
Create a pull request from
release/v<version>todevelopcontaining:Update the
CHANGELOG.mdwith Added, Fixed and Changed.Adjust the version number in
pyproject.tomlandCITATION.cffas necessary (major, minor or patch release). To edit the version inpyproject.toml, there are two ways:Manually edit the file with an editor.
Use
poetry version <rule>. See also Poetry Docs
Merge the release
release/v<version>branch, you can keep the branch for updatingdeveloplater again.Create a pull request from
developtomain.Check if all the CI pipelines for that PR succeed.
Let the named maintainer (see GOVERNANCE.md) merge the PR into
main.Create a new release by using the Github UI.
Choose to create a new tag with the format
v<version number>.Target branch is
main.The release title will be set to the tag name, keep as is.
A description should be added, giving a very brief summary of the contained changes.
Publish the release.
Note: this will also ensure usage of annotated tags, making Software Heritage archive the release.
Using a pull request from release/v
, update develop: Update the version in
pyproject.tomlto<major>.<minor+1>.0.dev0in another pull request. To edit the version, you can use two ways:Manually edit the file with an editor.
Use
poetry version "<major>.<minor+1>.0.dev0"
Append in
CITATION.cffthe new identifier toidentifiers(if postprocess did not do it)