feat: add release notes drafter script#94
Open
LucasLaughlin wants to merge 1 commit intomarcus:mainfrom
Open
Conversation
TypeScript/Bun script that parses git log between version tags, groups commits by conventional-commit category (features, fixes, docs, maintenance), extracts Linear ticket IDs and PR numbers, and outputs formatted Markdown. Runnable via `bun run release-notes` or `make release-notes`. Includes sample output for v0.3.4 as validation. Nightshift-Task: release-notes Nightshift-Ref: https://github.com/marcus/nightshift Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
scripts/release-notes/draft.ts) that parses git log between version tags, groups commits by conventional-commit category (Features, Bug Fixes, Documentation, Maintenance), extracts Linear ticket IDs and PR numbers, and outputs formatted Markdownbun run release-notesormake release-notes; accepts optional[from-tag] [to-tag]argsTest plan
bun run release-notes— should output Markdown for latest tag rangebun run scripts/release-notes/draft.ts v0.3.3 v0.3.4— should produce v0.3.4 notesdocs/release-notes/v0.3.4.mdmatches expected outputmake release-notes— should invoke the script🤖 Generated with Claude Code