Permalink
Browse files

Make version self-bumping and releases self-tagging.

  • Loading branch information...
1 parent c65f265 commit 8538e37f0e988f730590dbd5a1153d98df25fa97 @rcaputo committed Mar 6, 2012
Showing with 15 additions and 16 deletions.
  1. +1 −0 .gitignore
  2. +14 −16 dist.ini
View
@@ -0,0 +1 @@
+Reflex-*.*
View
@@ -1,5 +1,4 @@
name = Reflex
-version = 0.093
author = Rocco Caputo <rcaputo@cpan.org>
license = Perl_5
copyright_holder = Rocco Caputo
@@ -12,27 +11,26 @@ Test::More = 0.96
Moose = 2.0203
MooseX::Role::Parameterized = 0.23
-[Repository]
-;git_remote = gh
-repository = git://github.com/rcaputo/reflex.git
-web = https://github.com/rcaputo/reflex
-
-;[BumpVersionFromGit]
-;first_version = 0.001
-;version_regexp = ^v(.+)$
+[MetaResources]
+bugtracker = http://rt.cpan.org/Public/Dist/Display.html?Name=Reflex
+repository = http://github.com/rcaputo/reflex
-;; Working directory must be clean.
-;[Git::Check]
-;[Git::Tag]
-;tag_format = v%v
-;tag_message = Release v%v.
+[Repository]
+git_remote = gh
[ReadmeFromPod]
-
[ReadmeMarkdownFromPod]
-
[ReportVersions]
+; Require everything to be checked in.
+[Git::Check]
+allow_dirty = Dist-Zilla-Plugin-ChangelogFromGit-*.*/*
+
+; Calculate the release version.
+[Git::NextVersion]
+first_version = 0.096
+version_regexp = ^v(\d+\.\d+)$
+
[ChangelogFromGit]
tag_regexp = v(\d+[_.]\d+)

0 comments on commit 8538e37

Please sign in to comment.