Repository navigation
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A tag
vX.Y.Zmakes a GitHub release with the binaries for Linux and macOS, its notes taken fromCHANGELOG.md.What
.github/workflows/release.yml, on a tagv*: refuses a tag that is not the workspace's version inCargo.toml(which the binary also says in itsUser-Agent: iq/<version>), creates the release from that version's section ofCHANGELOG.md, marked latest, then buildsiqwith--release --lockedon 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.AGENTS.mdsays how a version is released.After it is merged
The workspace's version is already 0.1.0. A tag
v0.1.0on 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.