Rewrite release changelog script in JS, fix model ID and tag fetching#110
Merged
coreymartin merged 4 commits intomainfrom Feb 27, 2026
Merged
Rewrite release changelog script in JS, fix model ID and tag fetching#110coreymartin merged 4 commits intomainfrom
coreymartin merged 4 commits intomainfrom
Conversation
The shell-based JSON construction was failing due to escaping issues. Replaced with a standalone Python script that handles JSON natively. Also adds a temporary PR trigger on workflow/script changes for validation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Use claude-sonnet-4-6-20250514 (correct model ID) - Fetch tags explicitly before computing git log range - Add debug output for tag/commit visibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the release workflow's changelog generation step which was failing in CI due to:
.github/scripts/generate-changelog.mjs) since this is a Node projectclaude-sonnet-4-6git fetch origin --tagsso the version tag is available for the git log rangeChanges
.github/scripts/generate-changelog.mjs— new JS script that calls the Anthropic API to determine patch/minor bump and generate a user-facing changelog.github/scripts/generate-changelog.py— deleted.github/workflows/release.yaml— usesnodeinstead ofpython3, explicit tag fetching, temporary PR trigger for validationTest plan
create-release-prcheck passes on this PR (AI step runs successfully)workflow_dispatchand verify full release PR creation flowrelease.yamlafter validation🤖 Generated with Claude Code