increment the $VERSION in the .pm after release and commit the result
Karen Etheridge [Sun, 7 Jun 2015 22:06:32 +0000 (15:06 -0700)]
dist.ini

index baafb41..d2a86ed 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -3,7 +3,6 @@ author              = Matt S Trout (mst) <mst@shadowcat.co.uk>
 copyright_holder    = Matt S Trout
 copyright_year      = 2014
 license             = Perl_5
-version             = 1.000004
    
 [GatherDir]
 [PruneCruft]
@@ -21,6 +20,8 @@ repository.url    = git://git.shadowcat.co.uk/p5sagit/Object-Tap.git
 repository.web    = http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit/Object-Tap.git
 repository.type   = git
 
+[RewriteVersion]
+
 [MakeMaker::Fallback]
 [ModuleBuildTiny::Fallback]
 mb_version = 0.28
@@ -33,4 +34,11 @@ mb_version = 0.28
 tag_format = v%v
 tag_message = v%v%t
 
+[BumpVersionAfterRelease]
+
+[Git::Commit / post-release commit]
+:version = 2.020
+allow_dirty_match = ^lib/.*\.pm$
+commit_msg = increment $VERSION after %v release
+
 [Git::Push]