Skip to content

feat: add AI-powered release announcement system#386

Merged
lane711 merged 1 commit into
mainfrom
ai-release-notes-issue
Dec 3, 2025
Merged

feat: add AI-powered release announcement system#386
lane711 merged 1 commit into
mainfrom
ai-release-notes-issue

Conversation

@lane711

@lane711 lane711 commented Dec 3, 2025

Copy link
Copy Markdown
Collaborator

Summary

Adds automated release announcements to Discord, Twitter/X, and WWW website when a new release is published.

  • Post to Discord with rich embed (highlights, install command, links)
  • Post to Twitter/X with concise announcement + hashtags
  • Create PR on WWW repo to update changelog and version badge

How it works

  1. Claude Code generates content - No API costs, you ask Claude Code to generate the release writeup
  2. Content saved to .release-content.json - Claude writes the JSON file
  3. Run npm run release:announce - Script reads content and posts to all platforms

New files

scripts/release/
├── index.js           # Main orchestrator
├── generate-content.js # Reads pre-generated content
├── post-twitter.js    # Twitter API v2 integration
└── update-www.js      # GitHub API for WWW repo PRs

.github/workflows/
└── release-announce.yml  # Triggered on release publish

New npm scripts

Command Description
npm run release:announce Post to Discord, Twitter, create WWW PR
npm run release:announce:dry Test without posting

Required secrets

Secret Purpose
DISCORD_WEBHOOK_URL Discord posting
TWITTER_API_KEY Twitter API
TWITTER_API_SECRET Twitter API
TWITTER_ACCESS_TOKEN Twitter API
TWITTER_ACCESS_SECRET Twitter API
WWW_REPO_TOKEN GitHub PAT for WWW repo PRs

Test plan

  • Dry run works locally
  • Test workflow via manual trigger with dry run
  • Test actual posting to Discord
  • Test actual posting to Twitter

Closes #358

🤖 Generated with Claude Code

Adds automated release announcements to Discord, Twitter/X, and WWW site.

- Add scripts/release/ with orchestrator and platform adapters
- Add GitHub Action workflow triggered on release publish
- Support dry-run mode for testing
- Content can be pre-generated by Claude Code (no API costs)
- Update package.json with release:announce scripts

Closes #358

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@lane711 lane711 merged commit 6bfc250 into main Dec 3, 2025
1 of 2 checks passed
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.

Feature: AI-Powered Release Notes Distribution System

1 participant