From: Karen Etheridge Date: Sun, 15 Apr 2012 16:03:32 +0000 (-0700) Subject: some release-time git plugins that should meet rafl's requirements X-Git-Tag: v0.42~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ec8772c12a053ef7618a7e1955ab3abbd484890;p=gitmo%2FMooseX-Getopt.git some release-time git plugins that should meet rafl's requirements --- diff --git a/dist.ini b/dist.ini index 6d6b865..30f265b 100644 --- a/dist.ini +++ b/dist.ini @@ -1,5 +1,4 @@ name = MooseX-Getopt -version = 0.41 author = Stevan Little author = Brandon L. Black author = Yuval Kogman @@ -40,5 +39,23 @@ Test::Trap = 0 [MetaTests] [Test::CPAN::Changes] +[Git::Check] +allow_dirty = + +; automatically calculate the next version from the last git tag +; override with V= +[Git::NextVersion] + +; add the version to Changes [NextRelease] format = %-9v %{yyyy-MM-dd HH:mm:ss ZZZZ}d + +; after release, the version in Changes file will be committed +; with a message listing the changes for this release +[Git::Commit] +allow-dirty = Changes +commit_msg = %N-v%v%t%n%n%c + +; ...and the resulting head commit will be tagged +[Git::Tag] +tag_message = v%v%t