Skip to content

ci(release): start releases from the actions ui - #108

Merged
jdhughes-dev merged 1 commit into
MODFLOW-ORG:developfrom
jdhughes-dev:ci-release-workflow
Sep 5, 2026
Merged

ci(release): start releases from the actions ui#108
jdhughes-dev merged 1 commit into
MODFLOW-ORG:developfrom
jdhughes-dev:ci-release-workflow

Conversation

@jdhughes-dev

Copy link
Copy Markdown
Contributor

Releases are started from the Actions tab, choosing the branch to release from (develop by default) and the version increment. Pushing a release branch still works.

  • Replaces the retired upload-artifact/download-artifact hand-off; release notes are read back out of HISTORY.md.
  • Publishes to PyPI when the release pull request is merged into main, rather than waiting on a draft being promoted by hand.
  • Adds the job resetting develop from main, which the release pull request described but which was never implemented.
  • update_version.py takes --bump and --next-dev, and stamps date-released in CITATION.cff.

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.
@jdhughes-dev
jdhughes-dev merged commit e72a3b2 into MODFLOW-ORG:develop Sep 5, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant