WIP: release: 1.2.0 #16
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
actions/changelog!16
Loading…
Reference in a new issue
No description provided.
Delete branch "mikluko/octant/release-1.2.0"
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?
Top of stack #15. Merging the stack cuts
v1.2.0; merging either PR below it alone cuts nothing, because[Unreleased]names no version.What it does
The three edits the contract asks for, and no code:
## [Unreleased]renamed to## [1.2.0] - 2026-09-05.## [Unreleased]opened above it.[Unreleased]repointed atv1.2.0...HEAD, and a[1.2.0]compare link added.Plus this repository's own fourth:
action.yamlrunsghcr.io/mikluko/action-changelog:v1.2.0. It has to name an immutable image at the moment it is committed, because a workflow pinning this action by SHA reads that file as it stands at that commit and nothing is rewritten ontomainafterwards.TestVersionMatchesTheChangelogholds the two together.Why 1.2.0
Read off
git tag --sort=-v:refname, which isv1.1.0, rather than off the changelog's newest heading. The two drift, and only the tags decide whatalready-taggedis checked against.Minor rather than patch:
unreadable-versionis new behaviour, compatible. The output change beneath it is a fix, but a release takes the highest level in it.What the release will contain
unreadable-versionand the output fix from #14, both already written under[Unreleased]there. #13 is documentation and writes no entry, which is this repository's standing practice for examples: a version that changes no behaviour is noise.Verification
go test ./...green across all six packages,go vet ./...andgofmt -lclean.TestVersionMatchesTheChangelogpasses withGITHUB_REF_NAME=v1.2.0, which is the tag the merge will cut.The action run against this repository's own changelog reports what the release workflow needs:
Merging
From a checkout of this repository:
All three, atomically, from the top. Merging #14 or #13 by hand instead breaks everything above it, since a squash rewrites the commit the PRs above are based on.
AI assistance
Written by Claude Code (Opus 5).
Pull request closed