Repository navigation
fix(ci): remove invalid flags from changeset publish command - #2050
Conversation
Signed-off-by: Arturo Reuschenbach Puncernau <reuschenbach@gmail.com>
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The focused change matches Changesets CLI usage and the existing release workflow.
Review effort: Balanced
Findings: None
What changed in this PR
Removes unsupported Changesets CLI flags that caused the npm publishing workflow to fail.
Changes:
- Updates the release script to use the supported
changeset publishcommand.
| File | Description |
|---|---|
package.json |
Removes invalid publish flags from the release script. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Summary
Fixes the publish workflow failure that occurred after merging the version bump PR. The release script was using invalid command-line flags that don't exist in
@changesets/cli@3.0.3, causing the publish action to fail with an "Unknown option '-r'" error.Changes Made
-rand--no-git-checksflags from thereleasescript inpackage.jsonchangeset publishwithout additional flagsCHANGESETS_OUTPUTenvironment variable is automatically handled by the changesets CLI when running in GitHub ActionsRelated Issues
Screenshots (if applicable)
N/A - CI/CD configuration change only
Testing Instructions
Checklist
Note: Tests and changeset are not applicable for this CI configuration fix. The fix itself is minimal (removing invalid flags) and will be validated by the next successful publish workflow run.
PR Manifesto
Review the PR Manifesto for best practises.