Repository navigation
Publish a GitHub Release from CHANGELOG.md when a version tag is pushed - #61
Conversation
|
Blind review verdict: SEND BACK · head What passed.
Blocker.
Notes.
|
|
Delta review, b467e53..b7af447: SEND BACK · head b7af447 · base b2f2360 · reviewer model claude-opus-5-5 (blind)
Blocker: Next: I'm renaming it (test file only, no workflow change). |
|
Delta review, b7af447..83d8de7: PUSH · head 83d8de7 · base b2f2360 · reviewer model claude-opus-5-5 (blind)
For the squash message: two branch subjects carry a "(#5)" and a "(#61)". Please drop the "(#5)" from the squash message; the PR number GitHub adds is enough. |
v0.4.0 is tagged and released, so 0.4.0 is no longer folded into 0.5.0. The "Never released" note leaves its CHANGELOG entry, and the fold handling leaves release_notes.py and check.py with its fixtures: a tag's notes are its own entry alone. release_notes.py v0.4.0 prints the section, the same text as the published Release, and v0.5.0 is refused until it is cut. The release fixtures no longer name 0.4.0 or 0.5.0: they read the newest entry and cut the next minor in a copy, so a release does not stale them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
83d8de7 to
57863c4
Compare
|
Reposted with internal references removed. First posted at 09:33 UTC; otherwise unchanged. Its SHAs are the ones of that time; the rewording note in this thread maps them to the current ones. Review: SEND BACK. PR #61 at head b0aff7b, reviewed against base b2f2360 on claude-opus-5-5, the contextvibes-reviewer run blind. Blockers
Confirmed
Notes
Response in 30368ea
|
|
Reposted with internal references removed. First posted at 09:36 UTC; otherwise unchanged. Its SHAs are the ones of that time; the rewording note in this thread maps them to the current ones. Delta review on 30368ea (the Opus reviewer, base b2f2360): SEND BACK. One blocker is left, and it is the one this PR leaves to Jasper by design.
Confirmed in 30368ea:
Notes:
Gap: the reviewer's read-only guard refused its scratch edits, so the full suite was not run on a 0.5.0-cut copy. That result is PLAUSIBLE, backed by in-memory |
|
Rewording note. The branch's commit messages were reworded and force-pushed to drop internal references. Every commit keeps its tree, so the reviewed content is unchanged.
For the squash-merge: leave out the "(#5)" that |
|
Rebase review: PUSH · head 00a64f6c3fa7f276ac19ce3aa480db09fa49ffdb · base 4d1fc1c · reviewer model claude-opus-5-5 (blind) The branch is rebased onto main (4d1fc1c, after #63 and #59), and 2d26e78 is folded into the first commit, leaving five commits. This head is not pushed yet. Rewriting commits that touch
|
release.yml runs on a pushed vX.Y.Z tag on main. It re-runs the checks, then publishes the Release with that version's CHANGELOG entry as its notes, printed by the new scripts/release_notes.py. The notes stay the hand-written narrative; nothing is generated from commits. release_notes.py refuses a tag that is not vX.Y.Z, has no entry or an empty one, is not the newest entry, or disagrees with the README badge or the PROMPT.md header. It also refuses a version marked never released. 0.4.0 is folded into 0.5.0 and gets no tag. Its entry opens with a Never released note, and its body is appended to the 0.5.0 notes. Until 0.5.0 is cut, the badge and header at 0.4.0 still agree with that entry. check.py gains check_changelog_entries: headings in the form the script parses, newest first, folds pointing forward. Four fixtures in test_scripts.py cover the refusals, the 0.5.0 cut and the check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The workflow text from the PR body, unchanged. Committed with a workflow-scoped token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.4.0 is tagged and released, so 0.4.0 is no longer folded into 0.5.0. The "Never released" note leaves its CHANGELOG entry, and the fold handling leaves release_notes.py and check.py with its fixtures: a tag's notes are its own entry alone. release_notes.py v0.4.0 prints the section, the same text as the published Release, and v0.5.0 is refused until it is cut. The release fixtures no longer name 0.4.0 or 0.5.0: they read the newest entry and cut the next minor in a copy, so a release does not stale them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
57863c4 to
0eaca35
Compare
Pushing a
vX.Y.Ztag onmainpublishes the GitHub Release, and its notes come from CHANGELOG.md. This follows the release research: no release-please, no Conventional Commits, because the CHANGELOG is hand-written narrative.Reworked at b467e53: v0.4.0 is released
The fold of 0.4.0 into 0.5.0 was reversed and v0.4.0 is tagged and released, so 0.4.0 is now a normal entry.
> **Never released.**line has left CHANGELOG [0.4.0].release_notes.pyandcheck.py, with its fixtures.⚠ One stale line in the workflow file
.github/workflows/release.yml:6-7still says the script refuses "a version marked never released". That is no longer true. The PAT has noworkflowscope, so I can't push the edit. Jasper: the line should end at "…or the newest CHANGELOG entry. Nothing is published unless every check passes." The rest of the file is unchanged and correct.What's in the branch
.github/workflows/release.yml(pushed by Jasper, 453ca62): on a pushedvX.Y.Ztag it checks that the tag is onmainand runscheck.pyand the fixtures. It then prints the notes withrelease_notes.pyand runsgh release create --verify-tag.scripts/release_notes.py vX.Y.Zprints the body of the tag's## [X.Y.Z] — YYYY-MM-DDentry alone, without its heading. It refuses, oneFAIL:line each, a tag that:vX.Y.Z;check.pygainscheck_changelog_entries. Every entry heading is in the form the script parses, entries run newest first, and no##subheading sits below the first entry.test_scripts.pygains fivetest_release_*fixtures. None of them names a version, so no release cut invalidates them:check.pypasses and the notes publish;##subheading.Checked at b467e53
scripts/check.pypasses.scripts/test_scripts.py: 47 tests, OK.release_notes.py v0.4.0prints the [0.4.0] section. It is byte-identical to the published v0.4.0 Release body.release_notes.py v0.5.0is refused with threeFAIL:lines: the badge, the header, and no entry.mainand a pushed tag. The first real run is v0.5.0.🤖 Generated with Claude Code