ci(release): start releases from the actions ui - #108
Merged
jdhughes-dev merged 1 commit intoSep 5, 2026
Conversation
Releases were started by pushing a release branch named for the version, and the workflow that took over could no longer run: it used retired versions of actions/upload-artifact and actions/download-artifact to hand the changelog between workflow runs. A release is now started from the Actions tab, choosing the branch to release from (develop by default) and the version increment, and the release notes are read back out of HISTORY.md instead of a cross-run artifact. Pushing a release branch still works. Publishing to PyPI previously required promoting the release draft by hand, since a release created by GITHUB_TOKEN does not raise the release-published event the publish job waited on. The publish job now runs after the release job in the same workflow run, so merging the release pull request into main tags, releases, and publishes without further intervention. A job resetting develop from main was described in the release pull request but was never implemented; it is added here. update_version.py takes --bump to compute the release version from the latest release tag and --next-dev for the following development version, and stamps date-released in CITATION.cff, which was fixed at the 0.1.0 release date.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Releases are started from the Actions tab, choosing the branch to release from (
developby default) and the version increment. Pushing a release branch still works.upload-artifact/download-artifacthand-off; release notes are read back out ofHISTORY.md.main, rather than waiting on a draft being promoted by hand.developfrommain, which the release pull request described but which was never implemented.update_version.pytakes--bumpand--next-dev, and stampsdate-releasedinCITATION.cff.