diff --git a/scripts/update-dev-versions.ts b/scripts/update-dev-versions.ts index 096090de..1db1c47a 100644 --- a/scripts/update-dev-versions.ts +++ b/scripts/update-dev-versions.ts @@ -28,6 +28,9 @@ async function getHighestDevTag(pkgs: any[]) { } async function main() { + console.log( + `************************************ update-dev-versions script start! ************************************`, + ); const files = await glob(`${process.env.PWD}/packages/**/package.json`, { ignore: '**/node_modules/**', }); @@ -44,9 +47,6 @@ async function main() { console.log(`highestCurrent = ${highestCurrent}`); console.log(`newVersion = ${nextVersionNumber}`); - await execPromise(`echo highestCurrent = ${highestCurrent}`); - await execPromise(`echo nextVersionNumber = ${nextVersionNumber}`); - for (const pkg of pkgs) { const { name } = pkg; const { stdout } = await execPromise(`npm view ${name} dist-tags.dev`); @@ -54,9 +54,6 @@ async function main() { const current = stdout.replace(/\n$/, ''); const newVersion = current.replace(/\.\d+$/, `.${nextVersionNumber}`); - await execPromise(`echo name = ${name}`); - await execPromise(`echo newVersion = ${newVersion}`); - pkg.version = newVersion; pkgs.forEach((p) => {