Repository navigation
Description
Context
Pushing `chore(release): v0.6.4` (commit `493d27c`) produced
`release-plz release` output `INFO nothing to release` +
`release_output: {"releases":[]}` — no tag, no GitHub Release,
despite:
- Workspace Cargo.toml version bumped `0.6.3 → 0.6.4` in this commit
- CHANGELOG.md `[0.6.4]` section added
- Two `fix(db):` commits since last tag `v0.6.3` (both match
`release_commits = "^(feat|fix|feat!|perf|perf!)"`) - The designated tagging package `perima` (CLI) has
`release = true` in release-plz.toml
Had to tag manually (`git tag -a v0.6.4 ... 493d27c && git push origin v0.6.4`)
- create GH Release via `gh release create v0.6.4`.
Suspected root cause
release-plz.toml has `release = true` ONLY on `[[package]] name = "perima"`
(the CLI binary). All other workspace members (`perima-core`,
`perima-db`, `perima-fs`, `perima-hash`, `perima-desktop`) are
`release = false`.
The two fix commits since v0.6.3 touched `crates/db/*` only. release-plz's
per-package change detection presumably looks at which packages had
file modifications matching the release-worthy commit filter. Since
neither `fix(db):` commit touched `crates/cli/`, release-plz concludes
"the `perima` CLI crate has no new releasable changes" → nothing to
release, even though the workspace version is clearly bumped.
Impact
- v0.6.3 release worked because that cycle had a `feat(desktop):` or
similar commit touching the CLI-adjacent package. v0.6.4 didn't. - Future: any release cycle where all fix commits touch only library
crates (db, fs, hash, core) will silently skip tag creation. - This is a supply-chain surprise — the manual chore(release) flow
becomes ineffective for library-only hotfixes.
Fix options
- `dependencies_update = true` (or equivalent) on the `perima`
package in release-plz.toml so dependency version bumps count as
changes to the CLI. - `release_always = true` at workspace level to force tagging
whenever workspace version is bumped, regardless of per-package
change detection. - Flip `release = true` on library crates too, but keep
`git_tag_enable = false` and `git_release_enable = false` on
them — may propagate the release decision without creating per-crate
tags. - Switch to PR-mode (re-enable release-plz-pr job) — PR-mode
aggregates across the workspace differently and may not hit this
per-package edge case. Requires flipping the repo "Allow GH Actions
to create PRs" setting we've kept off (see release-plz: enable 'Allow GitHub Actions to create PRs' to unblock next-release PR automation #50).
Action
- Reproduce the failure mode on a local `release-plz release --dry-run`
- Test each fix option in a branch
- Document the chosen fix in release-plz.toml WHY comments
- Update CLAUDE.md § Git if the release flow changes shape
Labels
`meta`, `chore`
Activity