diff --git a/README b/README index 073bfd2..fd0a273 100644 --- a/README +++ b/README @@ -114,7 +114,7 @@ CONTRIBUTING welcome. VERSION - check_pgbackrest version 1.5, released on Mon Mar 18 2019. + check_pgbackrest version 1.6, released on Thu Nov 14 2019. LICENSING This program is open source, licensed under the PostgreSQL license. For diff --git a/README.pod b/README.pod index c9de011..5744c51 100644 --- a/README.pod +++ b/README.pod @@ -138,7 +138,7 @@ check_pgbackrest is an open project. Any contribution to improve it is welcome. =head1 VERSION -check_pgbackrest version 1.5, released on Mon Mar 18 2019. +check_pgbackrest version 1.6, released on Thu Nov 14 2019. =head1 LICENSING diff --git a/check_pgbackrest b/check_pgbackrest index 8de5245..13a4961 100755 --- a/check_pgbackrest +++ b/check_pgbackrest @@ -60,7 +60,7 @@ undef @path; # Reference to the output sub my $output_fmt; -$VERSION = '1.6dev'; +$VERSION = '1.6'; $PROGRAM = 'check_pgbackrest'; # Available services and descriptions. @@ -885,7 +885,7 @@ sub check_wal_archives { # Generate @warn_msg and @crit_msg with missing files (sorted and unique messages) my @unique_warn_missing_file_msg = do { my %seen; grep { !$seen{$_}++ } @warn_missing_file_msg }; push @warn_msg, sort @unique_warn_missing_file_msg; - + push @crit_missing_file_msg, @warn_missing_file_msg if @warn_missing_file_msg and @crit_missing_file_msg; my @unique_crit_missing_file_msg = do { my %seen; grep { !$seen{$_}++ } @crit_missing_file_msg }; push @crit_msg, sort @unique_crit_missing_file_msg; @@ -1040,7 +1040,7 @@ check_pgbackrest is an open project. Any contribution to improve it is welcome. =head1 VERSION -check_pgbackrest version 1.5, released on Mon Mar 18 2019. +check_pgbackrest version 1.6, released on Thu Nov 14 2019. =head1 LICENSING diff --git a/check_pgbackrest.spec b/check_pgbackrest.spec index 0381f81..c4ca76b 100644 --- a/check_pgbackrest.spec +++ b/check_pgbackrest.spec @@ -1,7 +1,7 @@ -%global _tag REL1_5 +%global _tag REL1_6 Name: nagios-plugins-pgbackrest -Version: 1.5 +Version: 1.6 Release: 1 Summary: pgBackRest backup check plugin for Nagios License: PostgreSQL @@ -32,5 +32,7 @@ install -D -p -m 0755 check_pgbackrest %{buildroot}/%{_libdir}/nagios/plugins/ch %doc README LICENSE %changelog +* Thu Nov 14 2019 Stefan Fercot 1.6-1 +- new major release 1.6 * Mon Mar 18 2019 Stefan Fercot 1.5-1 - new major release 1.5 diff --git a/test/regress/expected/version.out b/test/regress/expected/version.out index 7b2d113..8bb7022 100644 --- a/test/regress/expected/version.out +++ b/test/regress/expected/version.out @@ -1 +1 @@ -check_pgbackrest version 1.6dev, Perl 5.16.3 +check_pgbackrest version 1.6, Perl 5.16.3