Skip to content

feat: add release notes drafter script#94

Open
LucasLaughlin wants to merge 1 commit intomarcus:mainfrom
LucasLaughlin:nightshift/release-notes-drafter
Open

feat: add release notes drafter script#94
LucasLaughlin wants to merge 1 commit intomarcus:mainfrom
LucasLaughlin:nightshift/release-notes-drafter

Conversation

@LucasLaughlin
Copy link
Copy Markdown

Summary

  • Adds a TypeScript/Bun script (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 Markdown
  • Runnable via bun run release-notes or make release-notes; accepts optional [from-tag] [to-tag] args
  • Includes sample release notes for v0.3.4 as validation output

Test plan

  • Run bun run release-notes — should output Markdown for latest tag range
  • Run bun run scripts/release-notes/draft.ts v0.3.3 v0.3.4 — should produce v0.3.4 notes
  • Verify docs/release-notes/v0.3.4.md matches expected output
  • Run make release-notes — should invoke the script

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant