release test for Changes content; pre-release checks in git
[gitmo/MooseX-Getopt.git] / dist.ini
index 30f265b..193e755 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -38,6 +38,13 @@ Test::Trap = 0
 [Test::MinimumVersion]
 [MetaTests]
 [Test::CPAN::Changes]
+[Test::ChangesHasContent]
+
+[Git::Remote::Check]
+remote_branch = master
+
+[Git::CheckFor::CorrectBranch]
+[Git::CheckFor::Fixups]
 
 [Git::Check]
 allow_dirty =
@@ -54,8 +61,11 @@ format = %-9v %{yyyy-MM-dd HH:mm:ss ZZZZ}d
 ; with a message listing the changes for this release
 [Git::Commit]
 allow-dirty = Changes
-commit_msg = %N-v%v%t%n%n%c
+commit_msg = %N-%v%t%n%n%c
 
 ; ...and the resulting head commit will be tagged
 [Git::Tag]
 tag_message = v%v%t
+
+; ...and then pushed to the origin repository
+[Git::Push]