feat(release): a nightly's notes list what is new since the nightly before #124
No reviewers
Labels
No labels
area/build
area/install
area/saves
area/tooling
area/ui
area/updates
ci: approved
good first issue
gpu/amd
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
platform/linux
platform/steam-deck
platform/windows
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/LongshotLauncher!124
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/LongshotLauncher:feat/nightly-notes-new-since"
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?
Type: feat · Risk: low · Tested on: not run locally (CI) · Needs: none
Why
A nightly's release page was one flat list of everything since the last version tag, so someone opening a nightly could not tell what that nightly brought. A release candidate's page already splits "new since the rc before" from what the earlier ones brought; a nightly's now does the same. Longshot's release script is the same file, and gets the same change: MagicBeanDev/Longshot#972.
What changed
A nightly's notes start with its own list, headed
## nightly-N-hash (date), new since nightly-M-hash, then## Earlier changes (since <last version>)with the rest. The first nightly, and one whose predecessor is already the last version, keep one list.previous_nightly()inscripts/release.pyfinds the newest nightly tag on HEAD's history (older ones are pruned);notes()runs git-cliff overprevious..HEAD, then overlast version..previous.test_a_nightly_after_the_first_has_two_listsintests/test_release.py.Measurements
Verdict: nothing to measure: release notes text.
Testing
Tested: not run locally (no checks run on the PC this was written on). The test follows
test_an_rc_after_the_first_has_two_lists, with the same git-cliff stand-in.Not tested: a real git-cliff run over a real nightly; the next nightly's release page shows it.
Must be tested:
Risks
What could break: a nightly's release notes ("The notes" step).
Turning it off: revert the commit.
Compatibility: Nothing changes.
🤖 Generated with Claude Code
Possibly related, for context:
WIP: feat(release): a nightly's notes list what is new since the nightly beforeto feat(release): a nightly's notes list what is new since the nightly before