Extract the Release-Notes.md reset from fediverse-post into its own just recipe #40
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/zaojun#40
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
just fediverse-postis currently the only way to resetRelease-Notes.mdfromRelease-Notes.md.template— the reset lives inside the posting recipe. The reset is also needed on its own, without posting anything: when a session starts andRelease-Notes.mdstill holds prose from an already-released version (the reset workflow in AGENTS.md), it has to be done with a bespoke hand-writtensedinvocation that duplicates the recipe's logic outside the justfile.Coupling the reset to posting means the reset cannot be run independently, and the version-substitution logic exists in two places that can drift.
Plan of attack (landing together with #37 and #39 in one branch/PR):
reset-release-notesrecipe:VERSION=$(uv run bump-my-version show current_version)+ template substitution — exactly the logic currently insidefediverse-post.fediverse-postkeeps posting, then delegates the reset to the new recipe viajust reset-release-notes.just releaseis untouched (off-limits).