summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-06-13 15:56:55 -0500
committerJesse Luehrs <doy@tozt.net>2010-06-13 15:56:55 -0500
commit71cfc81ffcf6b6bcdea1ce94d11708b1bd449e76 (patch)
tree0ca847a41b4425d752f6a4aabd68aa1c2c0868e5 /lib
parentfddfb30f88f2b88e61b48c196c49cf68ddb0365c (diff)
downloaddist-zilla-pluginbundle-doy-71cfc81ffcf6b6bcdea1ce94d11708b1bd449e76.tar.gz
dist-zilla-pluginbundle-doy-71cfc81ffcf6b6bcdea1ce94d11708b1bd449e76.zip
fix regex for version from tag
Diffstat (limited to 'lib')
-rw-r--r--lib/Dist/Zilla/PluginBundle/DOY.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Dist/Zilla/PluginBundle/DOY.pm b/lib/Dist/Zilla/PluginBundle/DOY.pm
index 8fbecfd..28f473f 100644
--- a/lib/Dist/Zilla/PluginBundle/DOY.pm
+++ b/lib/Dist/Zilla/PluginBundle/DOY.pm
@@ -41,7 +41,7 @@ My plugin bundle. Roughly equivalent to:
tag_format = %v
tag_message =
[BumpVersionFromGit]
- version_regexp = \d+\.\d+
+ version_regexp = ^(\d+\.\d+)$
first_version = 0.01
[PodWeaver]
@@ -113,7 +113,7 @@ sub configure {
['Repository' => { git_remote => $self->github_url, github_http => 0 }],
['Git::Check' => { allow_dirty => '' }],
['Git::Tag' => { tag_format => '%v', tag_message => '' }],
- ['BumpVersionFromGit' => { version_regexp => '\d+\.\d+', first_version => '0.01'}],
+ ['BumpVersionFromGit' => { version_regexp => '^(\d+\.\d+)$', first_version => '0.01'}],
'PodWeaver',
);