Skip to content

ci(node): use --no-gh-release for napi pre-publish#12

Merged
upsetbit merged 1 commit into
masterfrom
ci/fix-napi-gh-release-flag
Jul 4, 2026
Merged

ci(node): use --no-gh-release for napi pre-publish#12
upsetbit merged 1 commit into
masterfrom
ci/fix-napi-gh-release-flag

Conversation

@upsetbit

@upsetbit upsetbit commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

The npm publish aborted at argument parsing: napi pre-publish has no
--skip-gh-release option (that string was from the original placeholder).
The flag is the boolean --gh-release (default true); skipping the GitHub
release is --no-gh-release. Verified against the installed @napi-rs/cli.

No packages were published (the error is pre-action), so npm 0.1.0 is still
clean. This unblocks the publish.

🤖 Generated with Claude Code

`napi pre-publish` has no `--skip-gh-release` flag; the option is the
boolean `--gh-release` (default true), so skipping the GitHub release is
`--no-gh-release`. The wrong flag aborted the publish at argument parsing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@upsetbit upsetbit merged commit a18f16e into master Jul 4, 2026
@upsetbit upsetbit deleted the ci/fix-napi-gh-release-flag branch July 4, 2026 00:24
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.

1 participant