diff --git a/scripts/release/version.js b/scripts/release/version.js index 4172b7aa06..35cacf91ee 100755 --- a/scripts/release/version.js +++ b/scripts/release/version.js @@ -10,7 +10,7 @@ const readline = require('node:readline'); const { globSync } = require('glob'); (async () => { - const newVersion = await promptVersion(); + const newVersion = process.argv[2] || (await promptVersion()); updatePackages(newVersion); })().catch(console.error);