release: a -bump flag naming the bump level, and 2.4.0 #47
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/changelog!47
Loading…
Reference in a new issue
No description provided.
Delete branch "mikluko/release-bump"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
-bump major|minor|patchonrelease,bumpinput onactions/release, from beadschangelog-1rb. First consumer: workspace-nixos, versionedYY.M.PATCH, whose scheduled nixpkgs pin files a note under Changed and needs a patch.-bump majorbelow 1.0.0 releases1.0.0, unlike a computed breaking bump (minor there): naming the level is how a repository graduates.The second commit is the 2.4.0 release, folded with
changelog releaseas the Release workflow does. After merge, a dispatch finds 2.4.0 due and resumes at the tag.Evidence
[Unreleased]with### Changed, newest1.2.3:releasegives1.2.4only via-version 1.2.4, read from the file by the caller.After:
release -bump patchgives1.2.4(TestReleaseCmdBumpsByTheLevelGiven);-bump patch -version 1.2.4and-bump preare refused with the file unchanged (TestReleaseCmdRefusesBump).go test ./...passes, also withGITHUB_REF_NAME=v2.4.0;golangci-lint0 issues; validate on the release commit:due=true version=2.4.0(manifest-versionoff locally, no nix).Merge Danger
Door: two-way until the dispatch cuts
v2.4.0; one-way after.Blast Radius: additive.
Nextis restructured ontoVersion.BumpwithTestNextunchanged; no existing input or flag changes meaning.Merge on 2026-11-22 (UTC):
pending-date-mismatchholds the release back if the merge commit is dated later than the heading.