Skip to content

Publish the npm tarball by file path - #10

Merged
aakashpawar1999 merged 1 commit into
developfrom
fix/npm-publish-path
Nov 8, 2026
Merged

aakashpawar1999 merged 1 commit into
developfrom
fix/npm-publish-path

Conversation

@aakashpawar1999

Copy link
Copy Markdown
Contributor

The v0.3.0 release run (42500481848) released the tag, GitHub release, crates.io crate and image, but its npm job failed: npm publish "dist/zeroonething-replysieve-0.3.0.tgz" is parsed as GitHub shorthand (user/repo), so npm ran git ls-remote ssh://git@github.com/dist/... and got Permission denied (publickey).

A leading ./ makes npm treat it as a file. Checked with npm's own npm-package-arg: dist/...tgz is type git, ./dist/...tgz is type file. actionlint passes.

Once this reaches main, the release workflow's plan sees only the npm version missing, so it runs npm-pack and npm and skips everything that already exists.

npm read "dist/zeroonething-replysieve-0.3.0.tgz" as GitHub shorthand
(user/repo) and tried git ls-remote, so the 0.3.0 npm publish failed with
"Permission denied (publickey)". A leading "./" makes it a file path,
as npm-package-arg confirms (git vs file).
@aakashpawar1999
aakashpawar1999 merged commit d7e37d1 into develop Nov 8, 2026
30 checks passed
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