Skip to content

Commit

Permalink
Update release.md with citation.cff and conda-forge steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktBurger committed May 21, 2024
1 parent 294aca0 commit 8292a0d
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@

## PyPI

#. Draft a new release on github with a new tag (create on publish) in the style `vMajor.Minor.Patch`, where `Major`, `Minor`, and `Patch` are integers according to semnatic versioning
#. Use the autogenerated changelog to update `CHANGELOG.md` in main
#. 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
1. Draft a new release on github with a new tag (create on publish) in the style `vMajor.Minor.Patch`, where `Major`, `Minor`, and `Patch` are integers according to semnatic versioning
1. Use the autogenerated changelog to update `CHANGELOG.md` in main
1. Update the version and release date in `CITATION.cff`
1. Copy the modified changelog from the file to the github release draft
1. Release the new version on github
1. Approve the release run in the actions tab
1. Verify that the upload to PyPI succeeded


## Conda-forge

#. Do the PyPI release first
#. Rebase the `conda-forge-release` branch on the latest release
#. Create a tag with `vMajor.Minor.Patch-cf` at the head of that branch
#. Update the conda-forge repository with the version and checksum
1. Do the PyPI release first
1. Rebase the `conda-forge-release` branch on the latest release
1. Ensure correct `pyproject.toml`:
* State the version explicitly (`version = "1.2.3"` instead of `dynamic = ["version"]`)
* Comment out the `openrpc` dependency
* Comment out the section section (including header!) `[tool.setuptools_scm]`
1. Create a tag with `vMajor.Minor.Patch-cf` at the head of that branch
1. 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

0 comments on commit 8292a0d

Please sign in to comment.