Skip to content

A tag releases a version, with the binaries for Linux and macOS - #24

Merged
ngodzik merged 1 commit into
mainfrom
releases
Nov 14, 2026
Merged

ngodzik merged 1 commit into
mainfrom
releases

Conversation

@ngodzik

@ngodzik ngodzik commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

A tag vX.Y.Z makes a GitHub release with the binaries for Linux and macOS, its notes taken from CHANGELOG.md.

What

  • .github/workflows/release.yml, on a tag v*: refuses a tag that is not the workspace's version in Cargo.toml (which the binary also says in its User-Agent: iq/<version>), creates the release from that version's section of CHANGELOG.md, marked latest, then builds iq with --release --locked on Ubuntu 22.04 (x86_64, so that its glibc is old enough for most distributions) and macOS (Apple Silicon), and attaches each archive (the binary, the README, the licence, the changelog) with its SHA-256 checksum. Not Windows, where commands are refused until a sandbox is written. As in CI, only GitHub's own actions, pinned to their release's commit, and Rust from rustup.
  • CHANGELOG.md, starting with 0.1.0, the first version, said as an experiment.
  • The README points to the releases; AGENTS.md says how a version is released.

After it is merged

The workspace's version is already 0.1.0. A tag v0.1.0 on main, pushed, makes the first release.

Checked

The workflow file parses, the changelog's section is what the workflow extracts, and the lockfile is up to date for --locked. The workflow itself runs only on a tag.

A tag such as v0.1.0 now makes a GitHub release: its notes are that
version's section of CHANGELOG.md, and it carries the iq binary built
for Linux (x86_64, on Ubuntu 22.04 so that its glibc is old enough for
most distributions) and macOS (Apple Silicon), the systems iq's sandbox
is written for, with the README, the licence, the changelog and a
SHA-256 checksum for each archive. A tag that is not the version
Cargo.toml declares is refused, so that a binary, its user agent
included, never says one version and its release another. As in CI,
only GitHub's own actions run, pinned to the commit of their release,
and Rust comes from rustup.

CHANGELOG.md starts with 0.1.0, the first version, said as an
experiment. The README points to the releases, and AGENTS.md says how a
version is released.
@ngodzik
ngodzik merged commit 19c7a01 into main Nov 14, 2026
8 checks passed
@ngodzik
ngodzik deleted the releases branch November 14, 2026 21:49
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