Skip to content
This repository was archived by the owner on Oct 21, 2026. It is now read-only.

ci: fix Fork Release publishing and rename it from Main build - #23

Merged
donnes merged 2 commits into
mainfrom
ci/flatten-release-assets
Sep 27, 2026
Merged

donnes merged 2 commits into
mainfrom
ci/flatten-release-assets

Conversation

@donnes

@donnes donnes commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

The first Main build (run 36336391048) built Linux and macOS but failed to publish. The macOS artifact uploads release/ and release-cli/ together and downloads with those directories intact, so gh release create assets/* hit a directory (read assets/release: is a directory).

  • The release job now flattens the downloaded artifacts before writing checksums and publishing. It also replaces any release a failed attempt left behind, so the job can be re-run.

  • install-mac had the same layout assumption for the runtime archive. It now finds files by name, using a loop that works in the Mac's /bin/bash 3.2 (which has no mapfile). I tested it on the runner Mac against the real layout.

  • Renames the workflow from "Main build" (main-build.yml) to Fork Release (fork-release.yml), since it builds and publishes this fork's releases.

🤖 Generated with Claude Code

donnes and others added 2 commits September 27, 2026 14:41
The macOS artifact uploads release/ and release-cli/ together, so it
downloads with those directories and `gh release create assets/*` failed on
a directory. Flatten assets before publishing, and replace a release a
failed attempt left behind so the job can be re-run.

install-mac looked for the runtime archive at the artifact root for the
same reason; it now finds files by name, in a loop the Mac's bash 3.2
supports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@donnes donnes changed the title ci: publish main builds from flattened artifacts ci: fix Fork Release publishing and rename it from Main build Sep 27, 2026
@donnes
donnes merged this pull request into main Sep 27, 2026
10 checks passed
@donnes
donnes deleted the ci/flatten-release-assets branch September 27, 2026 17:56
donnes added a commit that referenced this pull request Sep 27, 2026
* ci: publish main builds from flattened artifacts

* ci: rename Main build to Fork Release

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant