Skip to content

feat: /prepare-release command and script#17029

Merged
pettinarip merged 5 commits into
devfrom
prepare-release
Jan 8, 2026
Merged

feat: /prepare-release command and script#17029
pettinarip merged 5 commits into
devfrom
prepare-release

Conversation

@wackerow
Copy link
Copy Markdown
Member

@wackerow wackerow commented Jan 8, 2026

Description

Adds /prepare-release Claude command to automate deployment workflow.

Changes

  • New Claude command at .claude/commands/prepare-release.md
  • New bash script at src/scripts/prepare-release.sh

Features

  • Worktree support - Can run from any branch; creates a worktree for dev operations
  • Dry-run mode - Preview all actions without making changes (--dry-run)
  • Version suggestion - Analyzes draft release to recommend patch/minor/major
  • Release note cleanup - Filters out back-merges, bot PRs, and release management noise
  • Auto-recovery - Detects and resets dirty worktree from interrupted runs

Usage

/prepare-release              # Analyze and suggest version
/prepare-release --patch      # Patch release
/prepare-release --minor      # Minor release
/prepare-release --major      # Major release
/prepare-release --dry-run    # Preview without changes

- Use pushd/popd instead of subshell for run_in_workdir (fixes pnpm hanging in subshell with lifecycle scripts)
- Auto-recover dirty worktree from interrupted runs
- Add 'reset' command for manual recovery
@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 8, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit d3dfbfd
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/695f0d4b6b8f89000847c965
😎 Deploy Preview https://deploy-preview-17029--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 57 (🟢 up 5 from production)
Accessibility: 94 (no change from production)
Best Practices: 100 (🟢 up 2 from production)
SEO: 100 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the tooling 🔧 Changes related to tooling of the project label Jan 8, 2026
@wackerow
Copy link
Copy Markdown
Member Author

wackerow commented Jan 8, 2026

Copy link
Copy Markdown
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🔥

@pettinarip pettinarip merged commit c43dafa into dev Jan 8, 2026
7 checks passed
@pettinarip pettinarip deleted the prepare-release branch January 8, 2026 14:07
@wackerow wackerow mentioned this pull request Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tooling 🔧 Changes related to tooling of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants