release: a -prerelease flag numbering X-pre.N from the tags #50
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!50
Loading…
Reference in a new issue
No description provided.
Delete branch "release-prerelease"
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
actions/releasegets aprereleaseinput passing the flag.This repository's
release.yamlgets aprereleaseinput. Becauseinstall.shreadsactions/VERSIONandTestVersionMatchesTheChangelogholds it to the newest entry, a pre-release here is still a full release commit, folded asX-pre.N. That commit is pushed only as its tag, so main keeps the fragments. The release is published withprerelease: trueand the major tag is not moved.Evidence
go test ./...passes, includingTestNextPrereleaseandTestReleaseCmdPrerelease*: numbering, other spellings ignored, files untouched, shallow refused.golangci-lint run: 0 issues.actionlinton.forgejo/workflows: clean.Merge Danger
Door: two-way
Blast Radius: release workflow
The new path in
release.yamlruns only on a dispatch withprerelease: true. The final path changes fromgit commit -amto an explicitgit addof the same three paths.Closes #49
🤖 Generated with Claude Code