Skip to content

Publish release binaries after pull request merges - #3

Open
capz wants to merge 3 commits into
masterfrom
ci/release-on-merge
Open

capz wants to merge 3 commits into
masterfrom
ci/release-on-merge

Conversation

@capz

@capz capz commented Dec 5, 2026

Copy link
Copy Markdown
Owner

A pull request merged into the default branch starts the existing build matrix at its merge commit. The publishing job waits for all five binaries before uploading a GitHub Release.

  • Windows x64 portable ZIP
  • macOS Intel and Apple Silicon app ZIPs
  • Ubuntu 22.04 and 24.04 x64 AppImages

The release version and asset filenames use the four-component version from version.inc with -c appended. A tag such as v02.05.02.51-pr123-c gives each merged PR a stable release when consecutive merges share the same source version. Reruns can complete an interrupted draft without changing a published release.

The build uses checksum-verified CMake downloads on Windows and macOS, the Visual Studio 2022 runner for the VS 2022 generator, and a Boost patch path that matches the archive layout. The separate Linux container build is available for manual dispatch.

Verification

  • Actionlint and git diff --check passed.
  • A local test exercised all five release filenames, the existing pull request artifact names, incomplete uploads, tag mismatches, and reruns with a simulated GitHub client.
  • This PR runs the five hosted build jobs. A merge to the default branch exercises live publication.

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