Commit 44717de
fix(ci): publish npm tarball via ./-prefixed local path (#182)
`npm publish dist-tarball/fli-X.Y.Z.tgz` failed with a git error:
npm error command git ... ls-remote ssh://git@github.com/dist-tarball/fli-0.0.1.tgz.git
npm error git@github.com: Permission denied (publickey).
npm's arg parser treats a bare path containing exactly one slash (and no
leading ./) as a GitHub `owner/repo` shorthand, so it tried to git-clone
`dist-tarball/fli-0.0.1.tgz` instead of publishing the local tarball.
Prefixing with `./` forces npm to classify it as a file path.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 67df384 commit 44717de
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
0 commit comments