Let "push.pl" fail when updates fail
This commit is contained in:
parent
25ec249b13
commit
bac0d1d2c9
2
push.pl
2
push.pl
|
|
@ -233,5 +233,5 @@ while (my $repo = shift) { # 'library/hylang', 'tianon/perl', etc
|
||||||
description => $hubShort,
|
description => $hubShort,
|
||||||
full_description => $hubLong,
|
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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue