Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e3ef6909da
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| throw new Error(`Unsupported increment: ${increment}`); | ||
| NODE | ||
| ) | ||
| npm version --no-git-tag-version "$LATEST" --allow-same-version |
There was a problem hiding this comment.
Bump package metadata to target version before release-it
This step now syncs package.json only to LATEST, but never applies TARGET before invoking release-it; with this repo’s .release-it.json (npm.version is set to false), release-it will not rewrite package.json itself, so the publish step still attempts to publish the already-published version and the release job fails when npm rejects duplicate versions. This regression is introduced by removing the second npm version bump that previously advanced to the requested increment.
Useful? React with 👍 / 👎.
Summary
release-itperform the requested bumppackage.jsonandpackage-lock.jsonto0.1.0Verification
pnpm run format:checkmainpackage.jsonto npm latest (0.1.15)pnpm exec release-it 0.1.16 --ci --dry-runrelease-itperformed the release path instead of returningNo new version to release