Process
- Set release variables:
export VERSION=<version number>
export PREVIOUS=<previous version number>
export ORG="scientific-python"
export REPO="devstats"
- Autogenerate release notes
changelist ${ORG}/${REPO} v${PREVIOUS} main --version ${VERSION}
- Put the output of the above command at the top of `CHANGELOG.md`
- Update `version` in `pyproject.toml`.
- Commit changes:
git add pyproject.toml CHANGELOG.md
git commit -m "Designate ${VERSION} release"
- Tag the release in git:
git tag -s v${VERSION} -m "signed ${VERSION} tag"
If you do not have a gpg key, use -u instead; it is important for
Debian packaging that the tags are annotated
- Push the new meta-data to github:
git push --tags origin main
where `origin` is the name of the `github.com:scientific-python/devstats`
repository
- Review the github release page:
https://github.com/scientific-python/devstats/tags
- Update `version` in `pyproject.toml`.
- Commit changes:
git add pyproject.toml
git commit -m 'Bump version'
git push origin main