Skip to content

[release-0.5] fix(changelog): count fragments without the bad substitution that stopped the cut (#1655) - #1656

Merged
neochaotic merged 1 commit into
release-0.5from
pick/1655-release-0.5
Oct 10, 2026
Merged

neochaotic merged 1 commit into
release-0.5from
pick/1655-release-0.5

Conversation

@neochaotic

Copy link
Copy Markdown
Collaborator

What & why

Cherry-pick of #1655 (git cherry-pick -x 6c1d6fa6) to release-0.5. scripts/changelog-fold.sh died on a bad substitution after the merge, which stopped scripts/cut-release.sh v0.5.3-rc.1 while preparing the release branch.

How it was tested

On this branch: bash scripts/changelog-fold.sh --self-test passes (including the new end-to-end case), and scripts/changelog-fold.sh --dry-run 0.5.3-rc.1 with changie v1.24.0 folds the 30 pending fragments and exits 0.

Checklist

Skip-docs: fixes a crash in the release tooling; no behavior users see changes.


Generated by Claude Code

…pped the cut (#1655)

${#fragments[@]:-0} is not valid bash, so changelog-fold.sh died after the
merge on every dry run and every fold with a version, and cut-release.sh
could not prepare v0.5.3-rc.1. Initialize the array once and count it
plainly; --render leaves it empty and takes the else branch as before.

(cherry picked from commit 6c1d6fa)
@neochaotic neochaotic added this to the v0.5.3 milestone Oct 10, 2026 — with Claude
@neochaotic neochaotic added skip-changelog PR has no user-facing change; exempt from the CHANGELOG entry gate skip-docs PR changes nothing a user could discover; exempts it from the docs guard labels Oct 10, 2026 — with Claude
@neochaotic
neochaotic merged commit 8051537 into release-0.5 Oct 10, 2026
54 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR has no user-facing change; exempt from the CHANGELOG entry gate skip-docs PR changes nothing a user could discover; exempts it from the docs guard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant