mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
f210fe99c3
Also stopped replacing FORMAT number which explains the large number of test log changes. FORMAT should change very rarely and cause test log failures when it does.
33 lines
1.3 KiB
Perl
33 lines
1.3 KiB
Perl
####################################################################################################################################
|
|
# VERSION MODULE
|
|
#
|
|
# Contains BackRest version and format numbers.
|
|
####################################################################################################################################
|
|
package BackRest::Version;
|
|
|
|
use strict;
|
|
use warnings FATAL => qw(all);
|
|
|
|
use Exporter qw(import);
|
|
|
|
# BackRest Version Number
|
|
#
|
|
# Defines the current version of the BackRest executable. The version number is used to track features but does not affect what
|
|
# repositories or manifests can be read - that's the job of the format number.
|
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
|
our # 'our' keyword is on a separate line to make the ExtUtils::MakeMaker parser happy.
|
|
$VERSION = '0.80';
|
|
|
|
our @EXPORT = qw($VERSION);
|
|
|
|
# Format Format Number
|
|
#
|
|
# Defines format for info and manifest files as well as on-disk structure. If this number changes then the repository will be
|
|
# invalid unless migration functions are written.
|
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
|
our $FORMAT = 4;
|
|
|
|
push @EXPORT, qw($FORMAT);
|
|
|
|
1;
|