We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1392276 commit 8fc9d89Copy full SHA for 8fc9d89
1 file changed
.github/workflows/release.yml
@@ -150,5 +150,9 @@ jobs:
150
# exchange still happens via the npm CLI.
151
- name: Pack + Publish conflux-devkit CLI
152
run: |
153
- pnpm pack -C devtools/devkit --pack-destination .
154
- npm publish ./conflux-devkit-*.tgz --access public
+ # --pack-destination must be absolute so the tarball lands in the
+ # repo root regardless of where pnpm resolves the -C working dir.
155
+ pnpm pack -C devtools/devkit --pack-destination "$PWD"
156
+ tarball=$(ls "$PWD"/conflux-devkit-*.tgz | tail -1)
157
+ echo "Publishing tarball: $tarball"
158
+ npm publish "$tarball" --access public
0 commit comments