Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Make version self-bumping and releases self-tagging.

  • Loading branch information...
commit 8538e37f0e988f730590dbd5a1153d98df25fa97 1 parent c65f265
Rocco Caputo authored

Showing 2 changed files with 15 additions and 16 deletions. Show diff stats Hide diff stats

  1. 1  .gitignore
  2. 30  dist.ini
1  .gitignore
... ...
@@ -0,0 +1 @@
  1
+Reflex-*.*
30  dist.ini
... ...
@@ -1,5 +1,4 @@
1 1
 name              = Reflex
2  
-version           = 0.093
3 2
 author            = Rocco Caputo <rcaputo@cpan.org>
4 3
 license           = Perl_5
5 4
 copyright_holder  = Rocco Caputo
@@ -12,27 +11,26 @@ Test::More                  = 0.96
12 11
 Moose                       = 2.0203
13 12
 MooseX::Role::Parameterized = 0.23
14 13
 
15  
-[Repository]
16  
-;git_remote = gh
17  
-repository = git://github.com/rcaputo/reflex.git
18  
-web = https://github.com/rcaputo/reflex
19  
-
20  
-;[BumpVersionFromGit]
21  
-;first_version = 0.001
22  
-;version_regexp  = ^v(.+)$
  14
+[MetaResources]
  15
+bugtracker        = http://rt.cpan.org/Public/Dist/Display.html?Name=Reflex
  16
+repository        = http://github.com/rcaputo/reflex
23 17
 
24  
-;; Working directory must be clean.
25  
-;[Git::Check]
26  
-;[Git::Tag]
27  
-;tag_format  = v%v
28  
-;tag_message = Release v%v.
  18
+[Repository]
  19
+git_remote = gh
29 20
 
30 21
 [ReadmeFromPod]
31  
-
32 22
 [ReadmeMarkdownFromPod]
33  
-
34 23
 [ReportVersions]
35 24
 
  25
+; Require everything to be checked in.
  26
+[Git::Check]
  27
+allow_dirty = Dist-Zilla-Plugin-ChangelogFromGit-*.*/*
  28
+
  29
+; Calculate the release version.
  30
+[Git::NextVersion]
  31
+first_version  = 0.096
  32
+version_regexp = ^v(\d+\.\d+)$
  33
+
36 34
 [ChangelogFromGit]
37 35
 tag_regexp = v(\d+[_.]\d+)
38 36
 

0 notes on commit 8538e37

Please sign in to comment.
Something went wrong with that request. Please try again.