Skip to content

Commit 4c8baec

Browse files
authored
Merge pull request #2 from comet-ml/fix-publish-path
[NA] Release: publish the tarball by its ./ path
2 parents cbef641 + 40833b2 commit 4c8baec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ jobs:
102102
path: dist
103103
# Authenticates with npm trusted publishing, or with an NPM_TOKEN
104104
# secret if one is set.
105-
- run: npm publish --ignore-scripts dist/*.tgz
105+
# `./`: without it npm reads `dist/x.tgz` as a GitHub `user/repo`.
106+
- run: npm publish --ignore-scripts ./dist/*.tgz
106107
env:
107108
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)