Skip to content

Release from a version change on main; test pull requests - #40

Merged
henrikklee merged 2 commits into
mainfrom
auto-release
Nov 30, 2026
Merged

henrikklee merged 2 commits into
mainfrom
auto-release

Conversation

@henrikklee

@henrikklee henrikklee commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

A merged fix now reaches users without anyone tagging or publishing by hand.

  • Releases itself: the version lives in VERSION (now 0.4.8, the current release, so merging this releases nothing). On every push to main whose vX.Y.Z tag does not exist, the new Publish workflow calls the Release workflow on that commit; its last step creates the tag and publishes the release as the latest with generated notes. When the tag exists, nothing builds.
  • No partial releases: the release is created only after every build job succeeded, with all assets in one call. A final published job fails the run if any release job failed, was cancelled or skipped, or the release ended up as a draft or without assets.
  • Hand-pushed v* tags still work, and now publish instead of leaving a draft. Private-repo previews stay drafts.
  • Pull requests run swift test and the release tests on macos-15-intel (Check workflow), like the release builds: arm64 Mac runners are short and queued jobs get dropped.
  • README's Development section says how to release.

VERSION holds the version. On every push to main whose vX.Y.Z tag does
not exist yet, the Publish workflow runs the Release workflow on that
commit, which creates the tag and publishes the release as the latest
once every job has succeeded. A hand-pushed tag publishes too instead of
leaving a draft. Pull requests now run the host and release tests.
@henrikklee
henrikklee merged commit bd247ef into main Nov 30, 2026
1 check passed
@henrikklee
henrikklee deleted the auto-release branch November 30, 2026 19:17
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