Repository navigation
Publish the npm tarball by file path - #10
Merged
Merged
Conversation
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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v0.3.0 release run (42500481848) released the tag, GitHub release, crates.io crate and image, but its
npmjob failed:npm publish "dist/zeroonething-replysieve-0.3.0.tgz"is parsed as GitHub shorthand (user/repo), so npm rangit ls-remote ssh://git@github.com/dist/...and gotPermission denied (publickey).A leading
./makes npm treat it as a file. Checked with npm's own npm-package-arg:dist/...tgzis typegit,./dist/...tgzis typefile. 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.