Skip to content

Publish the tarball npm packed, not a git URL - #13

Open
suffro wants to merge 1 commit into
mainfrom
npm-publish-local-tarball
Open

Publish the tarball npm packed, not a git URL#13
suffro wants to merge 1 commit into
mainfrom
npm-publish-local-tarball

Conversation

@suffro

@suffro suffro commented Sep 11, 2026

Copy link
Copy Markdown
Owner

npm reads an argument that contains a slash but does not start with ./, / or ../ as a hosted git shorthand, so npm publish dist/scrollcase-1.1.1.tgz became a request to clone ssh://git@github.com/dist/scrollcase-1.1.1.tgz.git and failed on a missing public key.

Both releases this workflow has seen — 1.1.0 and 1.1.1 — failed that way and went out by hand, which is exactly the laptop publish the workflow was written to replace.

One character: ./.

Note it cannot rescue the already-pushed v1.1.1 tag, because a tag push runs the workflow file at that tag. 1.1.1 needs one more manual publish; the next release is the first this path can carry.

🤖 Generated with Claude Code

npm reads an argument that contains a slash but does not start with ./, / or
../ as a hosted git shorthand, so `npm publish dist/scrollcase-1.1.1.tgz`
became a request to clone ssh://git@github.com/dist/scrollcase-1.1.1.tgz.git
and failed on a missing public key.

Both releases this workflow has seen - 1.1.0 and 1.1.1 - failed that way and
went out by hand, which is exactly the laptop publish the workflow was written
to replace.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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