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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user