Skip to content

Commit 27a6380

Browse files
committed
more preview release fixes
1 parent 1531ef0 commit 27a6380

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/preview-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,12 @@ jobs:
6262
run: |
6363
mkdir -p dist
6464
pnpm --filter @salesforce/b2c-cli deploy --legacy ./dist-deploy
65+
# Generate oclif manifest while symlinks are intact
66+
cd ./dist-deploy && npx oclif manifest && cd ..
6567
# Copy to break hard links from pnpm's content-addressable store
6668
cp -rL ./dist-deploy ./dist-pack
67-
cd ./dist-pack && npm pack --pack-destination ../dist
69+
# Pack without running prepack script (manifest already generated)
70+
cd ./dist-pack && npm pack --ignore-scripts --pack-destination ../dist
6871
6972
- name: List packed files
7073
run: ls -la dist/

0 commit comments

Comments
 (0)