refactor(release): unify ask via global ANSWER variable
This commit is contained in:
@@ -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"');
|
||||
|
||||
Reference in New Issue
Block a user