fix(release): prompt for version override during --dry-run

Dry-run was previously bundled with --yes for the version prompt, so
it silently accepted the proposed version and skipped the interactive
flow it's meant to exercise. Only --yes should auto-accept.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-28 15:21:45 -07:00
parent 181007b91d
commit f2171393ae

View File

@@ -332,7 +332,7 @@ console.log(` Bumped packages : ${releases.map((r) => r.name).join(", ")}`);
console.log("");
let chosenVersion = proposedVersion;
if (!(AUTO_YES || DRY_RUN)) {
if (!AUTO_YES) {
while (true) {
const answer = await ask(`Release version [${proposedVersion}]: `);
if (answer === "") break;