Let "push.pl" fail when updates fail

This commit is contained in:
Tianon Gravi 2023-05-11 09:29:54 -07:00
parent 25ec249b13
commit bac0d1d2c9
1 changed files with 1 additions and 1 deletions

View File

@ -233,5 +233,5 @@ while (my $repo = shift) { # 'library/hylang', 'tianon/perl', etc
description => $hubShort,
full_description => $hubLong,
});
warn 'patch to ' . $repoUrl . ' failed: ' . $repoPatch->res->text and next unless $repoPatch->res->is_success;
die 'patch to ' . $repoUrl . ' failed: ' . $repoPatch->res->text unless $repoPatch->res->is_success;
}