Skip to content

Commit 7be6658

Browse files
committed
ci: update dist handling in release workflow
1 parent 5df6e5d commit 7be6658

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release-unstable.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ jobs:
4141
git config user.name 'github-actions[bot]'
4242
git config user.email 'github-actions[bot]@users.noreply.github.com'
4343
git fetch origin pkg || git checkout -b pkg
44+
cp -r dist node_modules/dist
4445
git checkout pkg
4546
git checkout master -- LICENSE README.md package.json
47+
rm -rf dist && cp -r node_modules/dist ./
4648
pnpm version "$(pnpm pkg get version | tr -d '"')-$(echo ${{ github.sha }} | cut -c1-7)" --no-git-tag-version
4749
git add .
4850
if ! git diff --staged --quiet; then

0 commit comments

Comments
 (0)