Skip to content

Commit

Permalink
build: 发布时在更版本号后执行reinstall来生成新lock
Browse files Browse the repository at this point in the history
  • Loading branch information
roymondchen committed May 30, 2024
1 parent 2d133f4 commit 7dad247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async function main() {
// build all packages with types
step('\nBuilding all packages...');
if (!skipBuild && !isDryRun) {
await run('pnpm', ['run', 'build']);
await run('pnpm', ['run', 'reinstall']);
} else {
console.log(`(skipped)`);
}
Expand Down

0 comments on commit 7dad247

Please sign in to comment.