Skip to content

Commit 12fdca9

Browse files
ashwin-antclaude
andauthored
feat: improve GitHub release notes generation (#173)
Use `gh release create --generate-notes` to automatically include PR titles, commits, and contributors in release notes instead of static template text. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent e8832f1 commit 12fdca9

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

.github/workflows/create-release-tag.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,17 @@ jobs:
4343
git push origin "v${{ steps.extract_version.outputs.version }}"
4444
4545
- name: Create GitHub Release
46-
uses: actions/create-release@v1
4746
env:
48-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49-
with:
50-
tag_name: v${{ steps.extract_version.outputs.version }}
51-
release_name: Release v${{ steps.extract_version.outputs.version }}
52-
body: |
53-
## Release v${{ steps.extract_version.outputs.version }}
54-
55-
Published to PyPI: https://pypi.org/project/claude-code-sdk/${{ steps.extract_version.outputs.version }}/
56-
57-
### Installation
58-
```bash
59-
pip install claude-code-sdk==${{ steps.extract_version.outputs.version }}
60-
```
61-
62-
### What's Changed
63-
See the [full changelog](https://github.com/${{ github.repository }}/compare/${{ steps.previous_tag.outputs.previous_tag }}...v${{ steps.extract_version.outputs.version }})
64-
draft: false
65-
prerelease: false
47+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
run: |
49+
# Create release with auto-generated notes
50+
gh release create "v${{ steps.extract_version.outputs.version }}" \
51+
--title "Release v${{ steps.extract_version.outputs.version }}" \
52+
--generate-notes \
53+
--notes-start-tag "${{ steps.previous_tag.outputs.previous_tag }}" \
54+
--notes "Published to PyPI: https://pypi.org/project/claude-code-sdk/${{ steps.extract_version.outputs.version }}/
55+
56+
### Installation
57+
\`\`\`bash
58+
pip install claude-code-sdk==${{ steps.extract_version.outputs.version }}
59+
\`\`\`"

0 commit comments

Comments
 (0)