From: Eduardo San Martin Morote Date: Mon, 21 Nov 2022 21:16:30 +0000 (+0100) Subject: build: update lock during release X-Git-Tag: pinia@2.0.26~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b3211f859c684295e004f6a29147930a91bc3e;p=thirdparty%2Fvuejs%2Fpinia.git build: update lock during release --- diff --git a/scripts/release.mjs b/scripts/release.mjs index 3d8d21c1..506819f9 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -179,6 +179,9 @@ async function main() { step('\nUpdating versions in package.json files...') await updateVersions(pkgWithVersions) + step('\nUpdating lock...') + await runIfNotDry(`pnpm`, ['install']) + step('\nGenerating changelogs...') for (const pkg of pkgWithVersions) { step(` -> ${pkg.name} (${pkg.path})`)