Skip to content

ci(release): prebuilt binary archives on GitHub Releases (mirror cora-code) - #515

Merged
ajianaz merged 2 commits into
developfrom
ci/release-binaries
Nov 4, 2026
Merged

ajianaz merged 2 commits into
developfrom
ci/release-binaries

Conversation

@ajianaz

@ajianaz ajianaz commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

What (description of the change)

New .github/workflows/release.yml (mirrors codecoradev/cora-code's proven workflow): on a v* tag push — verify-main job (tag must be on main), 4-target matrix build of tole-cli default features (linux x64/arm64, mac arm, windows x64), strip, tar.gz/zip packaging, SHA256 checksums, and a GitHub Release job that extracts the CHANGELOG section for the tag and uploads the archives + checksums.

  • crates.io publishing stays in publish.yml (release: published + dispatch, core -> tui -> cli) — unchanged; the two workflows compose: a tag push now fires BOTH (publish.yml from the release:published event, release.yml from the tag push).

Why (the problem you're solving)

Owner request: make tole's GitHub Releases match its siblings. uteke and cora-code ship prebuilt binaries + checksums on every release; tole was source-only (by design — tole upgrade tracks crates.io, documented in upgrade.rs). This adds the binary lane WITHOUT changing the crates.io canonical path or tole upgrade behavior.

Testing (how you verified this works)

  • YAML validated; adapted from the PROVEN cora-code release.yml (its releases carry live assets today): verify-main, matrix, packaging, checksums, changelog extraction, softprops release step are near-verbatim.
  • Deliberate differences: artifact names tole-*; NO --features tree-sitter (tole has no such feature; default features incl. the TUI are built); no sigstore step (tole has no binary-verifying install path yet — noted in a comment for the future); no crates.io job here (publish.yml owns it with the 3-crate order).
  • UNVERIFIED until the first tag push: actual matrix builds + asset upload (the workflow is tag-triggered only). Next release tag exercises it; fail-fast: false so one target failing does not block the others.

Comment thread .github/workflows/release.yml Outdated
body_path: release-notes.md
files: release-artifacts/*
draft: false
prerelease: ${{ contains(steps.version.outputs.TAG, '-') }}
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit e5a7d15 into develop Nov 4, 2026
16 checks passed
@ajianaz
ajianaz deleted the ci/release-binaries branch November 4, 2026 11:46
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.

2 participants