diff --git a/push.pl b/push.pl index 43c11bf34..4c871ea9f 100755 --- a/push.pl +++ b/push.pl @@ -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; }