refactor(release): unify ask via global ANSWER variable

This commit is contained in:
kj
2026-10-05 16:29:16 -03:00
parent 6e7b572935
commit 1127272330
2 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ Harness::it('release bumpea, commitea, tagea y publica', function () {
seed_package($repo, '1.2.3');
git_commit($repo, 'init');
exec('cd ' . escapeshellarg($repo) . ' && bash scripts/release http minor', $out, $code);
exec('cd ' . escapeshellarg($repo) . ' && bash scripts/release http minor --yes', $out, $code);
eq(0, $code, 'release debe terminar bien: ' . implode("\n", $out));
$pushed = exec('git -C ' . escapeshellarg($repo) . ' tag -l "http-v1.3.0"');