X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FModule-Metadata.git;a=blobdiff_plain;f=maint%2Fbump-version;h=f3b01e6b6d4e74bebf03c579d95cc599aeea854b;hp=26de88b7755cf0b290bd243217db7eadcddf1b0a;hb=dd5a4b10a5e1a7e13fc31c6001ebb21628642c6a;hpb=1e4aea7e7b71228630e55bf13e774b5393769811 diff --git a/maint/bump-version b/maint/bump-version index 26de88b..f3b01e6 100755 --- a/maint/bump-version +++ b/maint/bump-version @@ -13,7 +13,7 @@ my $OLD_DECIMAL = sprintf('%i.%03i%03i', @parts); my %bump_part = (major => 0, minor => 1, bugfix => 2); -my $bump_this = +my $bump_this = $bump_part{$ARGV[0]||'bugfix'} // die "no idea which part to bump - $ARGV[0] means nothing to me";