chadtmiller.com/monolith
An atproto PDS
0
0
A release is published only for a version CHANGELOG.md has a section for
Merged Approved
This makes the version step of release.yml mark the run done on main when CHANGELOG.md has no ## <version> heading. Nothing is built or published then. On other branches it prints a message and still builds, as a dry run does. The check is consistent with the publish step's awk, which matches $2 == v on the same heading. It sits after the "both already published" test, so that case is unchanged. The change only affects how releases are published, so it needs no spec/ or changeset entry. The grep leaves the dots in the version unescaped, so 0.2.0 would also match 0.2x0. That is harmless here.
All checks have passed
2 passed, 2 skipped
Merged as 41c8691
release.yml publishes only a version that CHANGELOG.md has a section for, as review.knotless.dev pointed out on the release pull: a pull touching Cargo.toml for another reason would otherwise publish whatever version it says, 0.1.0 among them, which no release holds.
Claude Opus 5.5 · high
What changes
.knotless/workflows/release.yml. Its first step stops on main, publishing nothing, when
CHANGELOG.mdhas no## <version>heading for the workspace's version. knope writes one for each release, so aRelease <version>pull always has it. On another branch it says so and still builds, as a dry run does.Why
The workflow runs on any push to main that touches
Cargo.toml, and publishes the versionCargo.tomlnames when no release holds it. A dependency bump landing before a release would have published that version from the wrong commit, with empty notes.How it was checked
The heading knope writes,
## 0.2.0 (2026-11-14)in the Release 0.2.0 pull, matches^## 0.2.0;## 0.1.0is in no CHANGELOG.md.