Skip to content

feat(ci): add release version validation to prevent mismatched releases#736

Merged
meryldakin merged 1 commit intomainfrom
add-release-validation
Mar 13, 2026
Merged

feat(ci): add release version validation to prevent mismatched releases#736
meryldakin merged 1 commit intomainfrom
add-release-validation

Conversation

@meryldakin
Copy link
Contributor

@meryldakin meryldakin commented Mar 11, 2026

Summary

Adds validation to the release pipeline to prevent version mismatches that cause failed releases.

How it works

When a release is created, the new validate-release job runs first:

  1. Extracts version from git tag (e.g., v1.0.21.0.2)
  2. Reads version from package.json
  3. If they don't match, fails with actionable error message
  4. If they match, allows publish-brew and publish-npm to proceed

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

- Add validate-release job that compares git tag to package.json version
- Block publish-brew and publish-npm if versions don't match
- Provide clear error message with remediation steps
- Add Claude skill for guided release process
@meryldakin meryldakin force-pushed the add-release-validation branch from ab9b145 to e40bdd8 Compare March 11, 2026 14:49
@meryldakin meryldakin merged commit 04a99c8 into main Mar 13, 2026
9 checks passed
@meryldakin meryldakin deleted the add-release-validation branch March 13, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants