Skip to content

Commit

Permalink
ci: fix pack.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
KermanX committed Nov 21, 2024
1 parent 2451e20 commit af66b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pack.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function pack() {
console.log('[pack] pack', path)
cd(resolve(WORKSPACE_ROOT, path))
const { stdout } = await $`pnpm pack`
await fs.move(stdout.trim(), `${PKG_ROOT}/${name}.tgz`)
await fs.move(stdout.split('\n').filter(Boolean).at(-1).trim(), `${PKG_ROOT}/${name}.tgz`)
}
}

Expand Down

0 comments on commit af66b75

Please sign in to comment.