From: Graham Knop Date: Wed, 31 Mar 2021 01:22:25 +0000 (+0200) Subject: support make bump V=patch X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=de42f5571a7856d8eb1c37d380ca48339215cda5;p=p5sagit%2FDistar.git support make bump V=patch --- diff --git a/lib/Distar/helpers/bump-version b/lib/Distar/helpers/bump-version index b72e905..d6967e5 100755 --- a/lib/Distar/helpers/bump-version +++ b/lib/Distar/helpers/bump-version @@ -183,7 +183,7 @@ sub version_parts { sub bump_version { my ($version, $new) = @_; - my %bump_part = (major => 0, minor => 1, bugfix => 2, last => -1); + my %bump_part = (major => 0, minor => 1, bugfix => 2, patch => 2, last => -1); my $bump_this = $bump_part{$new||'last'}; my $new_vstring;