Publish the npm tarball by explicit file path - #1847
Merged
spacebear21 merged 1 commit intoAug 27, 2026
Merged
Conversation
npm parses a relative path that contains a slash but no ./ prefix as a GitHub owner/repo shorthand, so the first javascript release run executed `git ls-remote ssh://git@github.com/dist/payjoin-0.2.0.tgz` and failed on SSH auth instead of publishing the local tarball. The ./ prefix disambiguates the argument as a file path; reproduced and verified against npm 11.6.2 with `npm publish --dry-run`.
spacebear21
force-pushed
the
fix-npm-publish-tarball-path
branch
from
August 27, 2026 15:37
178fa03 to
0b98fa1
Compare
benalleng
approved these changes
Aug 27, 2026
Collaborator
Coverage Report for CI Build 33088858924Coverage remained the same at 86.719%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
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 first javascript release run (payjoin-javascript-0.2.0+payjoin-1.0.0) failed in the publish step: npm parses a relative path containing a slash but no
./prefix as a GitHubowner/reposhorthand, sonpm publish "dist/payjoin-0.2.0.tgz"rangit ls-remote ssh://git@github.com/dist/payjoin-0.2.0.tgz.gitand failed on SSH auth without ever contacting the registry. Prefixing./disambiguates the argument as a local tarball; reproduced and verified against npm 11.6.2 withnpm publish --dry-runboth ways.Since the publish workflow runs at the tagged commit, the
payjoin-javascript-0.2.0+payjoin-1.0.0tag will be recreated on master once this lands.Disclosure: co-authored by Claude Fable 5
Pull Request Checklist
Please confirm the following before requesting review:
AI
in the body of this PR.
https://claude.ai/code/session_019BcdiyBCQQChuJ3dy7QJwm