Skip to content

Commit a42ef76

Browse files
JuliusBrusseeclaude
andcommitted
fix(ci): publish the npm tarball by path, not as a GitHub shorthand
`npm publish dist/x.tgz` has no leading ./, so npm parses the slash as an owner/repo shorthand and tries `git ls-remote ssh://git@github.com/dist/x.tgz.git`. pi-v0.1.0 was the first tag to reach this job — it has been broken for every npm package since the workflow was written. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SqmbqWDtNexzDfH5V3BMRz
1 parent 9aa6394 commit a42ef76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
run: |
191191
set -euo pipefail
192192
npm install --global npm@11.5.1
193-
npm publish dist/*.tgz --access public
193+
npm publish ./dist/*.tgz --access public
194194
195195
publish-pypi:
196196
if: needs.build.outputs.ecosystem == 'pypi'

0 commit comments

Comments
 (0)