Skip to content

Commit 8fe3dc4

Browse files
authored
Merge pull request #312 from softwarepub/release/0.9.0
Prepare for Release 0.9.0
2 parents cdfb298 + 29c773b commit 8fe3dc4

3 files changed

Lines changed: 10 additions & 6 deletions

File tree

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ title: hermes
1414
message: >-
1515
If you use this software, please cite it using the
1616
metadata from this file.
17-
version: 0.8.1
17+
version: 0.9.0
1818
license: "Apache-2.0"
1919
abstract: "Tool to automate software publication. Not stable yet."
2020
type: software

docs/source/dev/releasing.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,25 @@
44

55
To release a new version of HERMES when a new set of features and/or fixes have been merged, execute the following steps:
66

7-
1. Adjust the version number in `pyproject.toml` as necessary (major, minor or patch release).
8-
Please create and merge a PR for this. Don't just push to `develop`.
9-
To edit the version, you can use two ways:
7+
1. Adjust the version number in `pyproject.toml` and `CITATION.cff` as necessary (major, minor or patch release).
8+
Please create a branch `release/v<version>` and merge it in a PR - don't just push to `develop`.
9+
After merging, delete the "release" branch.
10+
11+
To edit the version in `pyproject.toml`, there are two ways:
1012
- Manually edit the file with an editor.
1113
- Use `poetry version <rule>`. See also [Poetry Docs](https://python-poetry.org/docs/cli/#version)
14+
1215
2. Create a pull request from `develop` to `main`.
1316
3. Check if all the CI pipelines for that PR succeed.
1417
3. Let the named maintainer (see GOVERNANCE.md) merge the PR into `main`.
1518
4. Create a new release [by using the Github UI](https://github.com/softwarepub/hermes/releases/new).
16-
This also ensures usage of *annotated* tags to include releases in Software Heritage Archive.
1719
- Choose to create a new tag with the format `v<version number>`.
1820
- Target branch is `main`.
1921
- The release title will be set to the tag name, keep as is.
2022
- A description should be added, giving a very brief summary of the contained changes.
2123
- Publish the release.
24+
25+
Note: this will also ensure usage of *annotated* tags, making Software Heritage archive the release.
2226
5. On `develop`, update the version in `pyproject.toml` to `<major>.<minor+1>.0.dev0` in another pull request.
2327
To edit the version, you can use two ways:
2428
- Manually edit the file with an editor.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[tool.poetry]
1010
# Reference at https://python-poetry.org/docs/pyproject/
1111
name = "hermes"
12-
version = "0.9.0.dev0"
12+
version = "0.9.0"
1313
description = "Workflow to publish research software with rich metadata"
1414
homepage = "https://software-metadata.pub"
1515
license = "Apache-2.0"

0 commit comments

Comments
 (0)