Project Organization and Maintenance
Version Policy
Version numbers communicate how much a release changed.
Version Policy
version_policy.pl
use strict;
use warnings;
my $change = ;
my %bumps = (
bugfix => "patch",
feature => "minor",
breaking => "major",
);
my $bump = $bumps{$change};
my $requires_notes = $bump eq "major" ? "yes" : "no";
print "change=$change\n";
print "bump=$bump\n";
print "requires_notes=$requires_notes\n";
use strict;
use warnings;
my $change = ;
my %bumps = (
bugfix => "patch",
feature => "minor",
breaking => "major",
);
my $bump = $bumps{$change};
my $requires_notes = $bump eq "major" ? "yes" : "no";
print "change=$change\n";
print "bump=$bump\n";
print "requires_notes=$requires_notes\n";
use strict;
use warnings;
my $change = ;
my %bumps = (
bugfix => "patch",
feature => "minor",
breaking => "major",
);
my $bump = $bumps{$change};
my $requires_notes = $bump eq "major" ? "yes" : "no";
print "change=$change\n";
print "bump=$bump\n";
print "requires_notes=$requires_notes\n";
version-policy
Classifying a change helps a maintainer choose a version bump deliberately.