Skip to content

Commit

Permalink
chore(release): allow providing release version directly (#4523)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjhsf committed Sep 4, 2024
1 parent 8d07db9 commit 75097cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 75097cb

Please sign in to comment.