Skip to content

Commit 2055fd5

Browse files
Merge pull request #301 from tpvasconcelos/release-notes
Update release process and changelog
2 parents 2634507 + ca58ccc commit 2055fd5

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

docs/development/release_process.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,25 @@
66
You need to have push-access to the project's repository to make releases. Therefore, the following release steps are intended to be used as a reference for maintainers or [collaborators](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/permission-levels-for-a-personal-account-repository#collaborator-access-for-a-repository-owned-by-a-personal-account) with push-access to the repository.
77
:::
88

9-
1. Review the `## Unreleased changes` section in {repo-file}`docs/reference/changelog.md` by checking for consistency in format and, if necessary, refactoring related entries into relevant subsections (e.g., _Features_, _Docs_, _Bugfixes_, _Security_, etc.). Take a look at previous release notes for guidance and try to keep it consistent.
10-
2. Submit a pull request with these changes only and use the `"Cleanup release notes for X.X.X release"` template for the pull request title. ridgeplot uses the [SemVer](https://semver.org/) (`MAJOR.MINOR.PATCH`) versioning standard. You can determine the latest release version by running `git describe --tags --abbrev=0` on the `main` branch. Based on this, you can determine the next release version by incrementing the MAJOR, MINOR, or PATCH. More on this in the next section. Remember to merge this pull request into the `main` branch before continuing to the next step!
11-
3. Use the [bumpversion](https://github.com/peritus/bumpversion) utility to bump the current version. This utility will automatically bump the current version, and apply a relevant commit and git tag. E.g.,
9+
1. Review the **`## Unreleased changes`** section at the top of the {repo-file}`docs/reference/changelog.md` file and, if necessary, group and/or split entries into relevant subsections (e.g., _Features_, _Docs_, _Bugfixes_, _Security_, etc.). Take a look at previous release notes for guidance and try to keep the format consistent.
10+
2. Review new usages of `.. versionadded::`, `.. versionchanged::`, and `.. deprecated::` directives that were added to the documentation since the last release. If necessary, update the version numbers in these directives to reflect the new release version.
11+
* You can determine the latest release version by running `git describe --tags --abbrev=0` on the `main` branch. Based on this, you can determine the next release version by incrementing the relevant _MAJOR_, _MINOR_, or _PATCH_ numbers.
12+
3. Use the [bumpversion](https://github.com/peritus/bumpversion) utility to automatically bump the current version, apply a relevant changes to the repository, and create a new commit and git tag. E.g.,
1213
```shell
13-
# Bump MAJOR version (e.g., 0.4.2 -> 1.0.0)
14+
# MAJOR release (e.g., 0.4.2 -> 1.0.0)
1415
SKIP='no-commit-to-branch' bumpversion major
1516

16-
# Bump MINOR version (e.g., 0.4.2 -> 0.5.0)
17+
# MINOR release (e.g., 0.4.2 -> 0.5.0)
1718
SKIP='no-commit-to-branch' bumpversion minor
1819

19-
# Bump PATCH version (e.g., 0.4.2 -> 0.4.3)
20+
# PATCH release (e.g., 0.4.2 -> 0.4.3)
2021
SKIP='no-commit-to-branch' bumpversion patch
2122
```
2223
You can always perform a dry-run to see what will happen under the hood.
2324
```shell
2425
bumpversion --dry-run --verbose [--allow-dirty] [major,minor,patch]
2526
```
26-
4. Push your changes along with the new git tag to the remote repository.
27+
4. **DANGER:** Push your changes along with the new git tag to the remote repository.
2728
```shell
2829
git push --follow-tags
2930
```

docs/reference/changelog.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,17 @@ Unreleased changes
99

1010
- Improve type annotations and use stricter pyright settings ({gh-pr}`291`)
1111

12-
### CI/CD
13-
14-
- Fix regressions tests by comparing against JSON artefacts instead of flaky JPEGs ({gh-pr}`299`)
15-
1612
### Documentation
1713

1814
- Use `sphinxcontrib.apidoc` to automatically generate API docs from the source code ({gh-pr}`296`)
1915
- Update hero image in the docs' landing page ({gh-pr}`300`)
16+
- Update release process notes ({gh-pr}`301`)
17+
18+
### CI/CD
19+
20+
- Fix regressions tests by comparing against JSON artefacts instead of flaky JPEGs ({gh-pr}`299`)
21+
22+
Thanks to {gh-user}`imprvhub` for their contributions to this release! 🚀
2023

2124
---
2225

0 commit comments

Comments
 (0)