- Draft a new release on github with a new tag (create on publish) in the style
vMajor.Minor.Patch
, whereMajor
,Minor
, andPatch
are integers according to semnatic versioning - Use the autogenerated changelog to update
CHANGELOG.md
in main - Update the version and release date in
CITATION.cff
- Commit the aforementioned changes
- Copy the modified changelog from the file to the github release draft
- Release the new version on github
- Approve the release run in the actions tab
- Verify that the upload to PyPI succeeded
- Do the PyPI release first
- Rebase the
conda-forge-release
branch on the latest release - Ensure correct
pyproject.toml
:- State the version explicitly (e.g.
version = "1.2.3"
instead ofdynamic = ["version"]
) - Comment out the
openrpc
dependency - Comment out the section (including header!)
[tool.setuptools_scm]
- State the version explicitly (e.g.
- Create a tag with
vMajor.Minor.Patch-cf
at the head of that branch - Update the conda-forge repository with the version and checksum of the tar.gz archive of that tag:
- On windows use
certUtil -hashfile pyleco-1.2.3-cf.tar.gz SHA256
(adjust the version) to generate the SHA256 hash
- On windows use