Release `sq`
Use this skill when preparing a new sq release for this repository.
sq is published as the sift-queue crate from the repository root.
Source of truth
Release automation lives in:
.github/workflows/publish.yml
Key behavior:
- pushing a
v*tag runs a version check - publishing a GitHub Release triggers
cargo publish - the tag version must match
Cargo.toml
Example for v0.3.0:
- git tag:
v0.3.0 - crate version:
0.3.0
Maintainer checklist
- DO NOT create the github release
- DO NOT publish the crate yourself
This skill documents the prep work up to tag creation/push. The GitHub Release publication and post-publish verification are handled manually afterward.
- Bump the version in
Cargo.toml,package.json, and.claude-plugin/marketplace.json. - Update the
sq --versionassertions intests/cli_integration.rs. - Run the Rust test suite:
```bash
cargo test --all --verbose
```
- Run a crates.io dry run:
```bash
cargo publish --dry-run
```
- Draft release notes in
tmp/release-vX.Y.Z.md. - Commit the release prep, merge to
main, then create and push the tag:
```bash
git tag vX.Y.Z
git push origin main vX.Y.Z
```
Version update locations
Update every release-owned version reference:
Cargo.toml— crate version and source of truthCargo.lock—sift-queuepackage version; regenerated by Cargo after changingCargo.tomlpackage.json— Pi/OMP package version; must matchCargo.toml.claude-plugin/marketplace.json— Claude plugin marketplace version; must matchCargo.tomltests/cli_integration.rs— expected output for bothsq --versionandsq -vtmp/release-vX.Y.Z.md— filename, heading, and changelog comparison URL for the new release
Also create and push the matching vX.Y.Z Git tag. .github/workflows/publish.yml derives artifact and Homebrew versions from that tag; it contains no release number to edit.
Notes
- Tag format must be
vX.Y.Z, not justX.Y.Z. - Tag push alone does not publish the crate.
- Actual crates.io publication happens only after the GitHub Release is published.