Skip to content

Commit f91abaa

Browse files
committed
recs
1 parent 09be625 commit f91abaa

File tree

1 file changed

+43
-15
lines changed

1 file changed

+43
-15
lines changed

RELEASE.md

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,19 @@ After the automated workflow completes:
4646
1. 📝 Review the Pull Request for `release/<tag-name>`
4747
2. 📝 (Optional) Enhance the changelog using Claude AI:
4848
- Copy the Claude prompt from the draft GitHub Release
49-
- Use it in your IDE with Claude integration
50-
- Update the changelog file with the enhanced output
49+
- Use one of these methods:
50+
- **IDE:** Claude extension in VSCode, or Cursor/Zed with built-in support
51+
- **CLI:** Use `claude-code` command (requires installation)
52+
- **Web:** Paste prompt at [claude.ai](https://claude.ai)
53+
- Update the changelog file with Claude's enhanced output
5154
- Commit and push changes to the release branch
5255
3. 📝 Edit and refine the generated changelog as needed
5356
4. 📝 Add **recommended upgrade priority** (Critical/High/Medium/Low) to the GitHub Release
5457
5. 📝 Add **general description** of the release to the GitHub Release
5558
6. 📝 Ensure **tested upgrade paths** are documented (1-2 lines in changelog)
56-
7.Merge the Pull Request to bring changelog into `main`
57-
8.Update the draft GitHub Release with your refined changelog (if enhanced)
58-
9.Publish the GitHub Release (change from draft to published)
59+
7.Update the draft GitHub Release with your refined changelog (if enhanced)
60+
8.Publish the GitHub Release (change from draft to published)
61+
9.Merge the Pull Request to bring changelog into `main` (before or after publishing - see below)
5962
10. 📢 Publish announcement message in **public Slack channel**
6063
11. 📢 Publish announcement message in **public Telegram channel**
6164

@@ -69,21 +72,33 @@ The `release/<tag-name>` branch is automatically created and should follow this
6972
- Make any necessary edits to improve clarity
7073
- Add upgrade priority, general description, and tested upgrade paths
7174

72-
**2. Update GitHub Release**
75+
**2. Update and Publish GitHub Release**
7376

7477
- Copy the refined changelog to the draft GitHub Release
78+
- Add upgrade priority, general description, and tested upgrade paths
7579
- Verify all information is accurate
80+
- Publish the GitHub Release (change from draft to published)
7681

77-
**3. Publish Release**
82+
**3. Choose When to Merge**
7883

79-
- Publish the GitHub Release (change from draft)
84+
- Decide whether to merge the PR before or after publishing (see option 4 below)
85+
- Most teams prefer merging **after** publishing to ensure release notes are finalized
8086

8187
**4. Merge Pull Request to Main**
8288

83-
- **Always merge the Pull Request to bring the changelog into `main`**
84-
- This keeps the repository's changelog files in sync
85-
- Ensures the release notes are preserved in the repository
86-
- The workflow creates a PR automatically for easy review and merge
89+
**Timing:** You can merge the PR either before or after publishing the GitHub Release:
90+
91+
- **Option A (Recommended):** Merge **after** publishing the release
92+
- Ensures the release notes are finalized before committing to main
93+
- Release branch serves as a staging area for refinement
94+
- Prevents premature changelog in repository
95+
96+
- **Option B:** Merge **before** publishing the release
97+
- Changelog is immediately available in main
98+
- Useful if you want the changelog visible before the release is public
99+
- Allows for faster iteration
100+
101+
The key is to **always merge eventually** to keep changelogs in sync with repository history.
87102

88103
```bash
89104
# Option 1: Merge via GitHub UI (recommended)
@@ -145,12 +160,23 @@ The release workflow automatically generates a basic structured changelog:
145160

146161
**You can then:**
147162

148-
- (Optional) Copy the Claude prompt and use it in your IDE to generate an enhanced changelog
163+
- (Optional) Enhance the changelog using Claude AI using one of these methods:
164+
- **Option 1:** Use Claude in your IDE (VSCode with Claude extension, Cursor, Zed, or compatible IDE)
165+
- **Option 2:** Use Claude Code CLI (`claude-code` command - requires installation)
166+
- **Option 3:** Copy the prompt to [claude.ai](https://claude.ai) and paste results manually
167+
- Copy the prompt from the collapsible section in the draft release
168+
- Generate an enhanced changelog with Claude
149169
- Update the changelog file in the release branch with Claude's output
150170
- Review and edit the changelog as needed
151171
- Merge the Pull Request to bring changes into `main`
152172
- Update the GitHub Release with your final changelog
153173

174+
**Claude AI Setup:**
175+
- **For IDE integration:** Install Claude extension for VSCode, or use Cursor/Zed which have built-in Claude support
176+
- **For CLI usage:** Install Claude Code from [Anthropic's CLI tools](https://docs.anthropic.com/claude/docs/cli)
177+
- **For web usage:** Simply visit [claude.ai](https://claude.ai) (requires Anthropic account)
178+
- Note: API keys or subscriptions may be required depending on your usage method
179+
154180
### Maintaining CHANGELOG.md
155181

156182
Follow these best practices for maintaining `./CHANGELOG.md`:
@@ -364,7 +390,8 @@ git push origin evm/v0.2.0
364390

365391
# 6. (Optional) Enhance changelog with Claude AI
366392
# Copy prompt from draft GitHub Release
367-
# Use in IDE with Claude, then update changelog file
393+
# Options: Use Claude in IDE (VSCode/Cursor/Zed), CLI (claude-code), or web (claude.ai)
394+
# Update changelog file with enhanced output, commit and push
368395

369396
# 7. Merge Pull Request
370397
# GitHub → Pull Requests → Merge PR (or use git commands)
@@ -552,7 +579,8 @@ git push origin evm/v0.2.0
552579

553580
# Review Pull Request
554581
# Optionally enhance with Claude AI (prompt in draft release)
555-
# Merge PR
582+
# Options: IDE extension, CLI, or claude.ai
583+
# Merge PR (before or after publishing - see workflow overview)
556584
# Complete GitHub Release with priority and description
557585
# Publish and announce in Slack and Telegram
558586
```

0 commit comments

Comments
 (0)