mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 07:00:28 +00:00
apkbuild-cpan: 'check' output format changed; exit code 1 on version mismatch
This commit is contained in:
parent
b17e7c1d02
commit
178affc406
@ -336,7 +336,10 @@ given ( $ARGV[0] ) {
|
||||
when ('check') {
|
||||
my ($apkbuild, $distdata) = get_data;
|
||||
my $pkgver = $distdata->{releases}[0]->{version};
|
||||
say "Latest version: $pkgver Packaged version: $apkbuild->{pkgver}";
|
||||
say "$apkbuild->{pkgname}: Latest version: $pkgver Packaged version: $apkbuild->{pkgver}";
|
||||
if ($pkgver ne $apkbuild->{pkgver}) {
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
when ("update") {
|
||||
prepare_tree;
|
||||
|
Loading…
Reference in New Issue
Block a user