Skip to content

Commit 6d49c14

Browse files
committed
Fix npm publish: use ./ prefix for local tgz paths
npm interprets bare paths like dist/foo.tgz as git URLs. Prefix with ./ so npm treats them as local file paths.
1 parent 740af23 commit 6d49c14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175
fi
176176
177177
# Publish platform packages first
178-
for tgz in dist/*.tgz; do
178+
for tgz in ./dist/*.tgz; do
179179
if [ -f "$tgz" ]; then
180180
echo "Publishing $tgz..."
181181
npm publish "$tgz" --access public --provenance $TAG_ARGS

0 commit comments

Comments
 (0)