feat(forgejo-cli): add release skill #17
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/release-skill"
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
Adds a
releaseskill to theforgejo-cliplugin, for repos using adevelop-accumulates / main-is-released branching model.
scripts/release_notes.py-- walksorigin/main..origin/develop, pulls thePR number out of each squash-merge commit subject (
(#N)), fetches eachPR's title/author/labels from the REST API, and groups them into a recap
(
feat/fix/perf/refactor/docs/test/chore/other). Commits withno PR reference are flagged in their own section rather than dropped.
SKILL.md-- runs the script, sanity-checks the recap, then opens thedevelop -> mainPR viaforgejo-cli'sfj_write.py pr-createwith therecap as the body. Stops there; merging is left to a human.
Test plan
python3 -m py_compileon the new script--helpoutput sane