Skip to content

Commit cd83263

Browse files
committed
more preview release fixes
1 parent a1e6589 commit cd83263

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/preview-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ jobs:
6262
run: |
6363
mkdir -p dist
6464
pnpm --filter @salesforce/b2c-cli deploy --legacy ./dist-deploy
65-
cd ./dist-deploy && npm pack --pack-destination ../dist
65+
# Generate oclif manifest before copying (oclif CLI not in production deps)
66+
cd ./dist-deploy && npx oclif manifest && cd ..
67+
# Copy to break hard links from pnpm store (hoisted linker has no symlinks to break)
68+
cp -r ./dist-deploy ./dist-pack
69+
cd ./dist-pack && npm pack --ignore-scripts --pack-destination ../dist
6670
6771
- name: List packed files
6872
run: ls -la dist/

0 commit comments

Comments
 (0)