@@ -61,43 +61,16 @@ jobs:
6161 echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT
6262 echo "tag=static-site/v$NEW_VERSION" >> $GITHUB_OUTPUT
6363
64- - name : Generate changelog with Claude
65- id : changelog
66- uses : anthropics/claude-code-action@v1
67- with :
68- claude_code_oauth_token : ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
69- prompt : |
70- Generate release notes for the Vizzly Static Site Plugin v${{ steps.version.outputs.version }}.
71-
72- Context:
73- - Client location: `clients/static-site/`
74- - Previous tag: `static-site/v${{ steps.current_version.outputs.version }}`
75- - New version: `${{ steps.version.outputs.version }}`
76- - This is a monorepo with multiple clients and a CLI
77-
78- Instructions:
79- 1. Use git commands (via Bash tool) to get commits since last static-site/* tag
80- 2. Analyze which commits are relevant to `clients/static-site/`
81- 3. Read the code changes if needed to understand impact
82- 4. Generate user-friendly release notes with categories: Added, Changed, Fixed
83- 5. Focus on user-facing changes only
84- 6. If no relevant changes, output: "No changes to Static Site plugin in this release"
85-
86- Save the changelog to `clients/static-site/CHANGELOG-RELEASE.md` with this format:
87-
88- ## What's Changed
89-
90- ### Added
91- - New features
92-
93- ### Changed
94- - Breaking or notable changes
95-
96- ### Fixed
97- - Bug fixes
98-
99- **Full Changelog**: https://github.com/vizzly-testing/cli/compare/static-site/v${{ steps.current_version.outputs.version }}...static-site/v${{ steps.version.outputs.version }}
100- claude_args : ' --allowed-tools "Bash(git:*),Write"'
64+ - name : Generate changelog
65+ run : |
66+ {
67+ echo "## What's Changed"
68+ echo ""
69+ git log --no-merges --pretty=format:'- %s' "static-site/v${{ steps.current_version.outputs.version }}...HEAD" -- clients/static-site || true
70+ echo ""
71+ echo ""
72+ echo "**Full Changelog**: https://github.com/vizzly-testing/cli/compare/static-site/v${{ steps.current_version.outputs.version }}...static-site/v${{ steps.version.outputs.version }}"
73+ } > clients/static-site/CHANGELOG-RELEASE.md
10174
10275 - name : Install dependencies
10376 working-directory : ./clients/static-site
0 commit comments