diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-06-13 15:56:55 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-06-13 15:56:55 -0500 |
commit | 71cfc81ffcf6b6bcdea1ce94d11708b1bd449e76 (patch) | |
tree | 0ca847a41b4425d752f6a4aabd68aa1c2c0868e5 | |
parent | fddfb30f88f2b88e61b48c196c49cf68ddb0365c (diff) | |
download | dist-zilla-pluginbundle-doy-71cfc81ffcf6b6bcdea1ce94d11708b1bd449e76.tar.gz dist-zilla-pluginbundle-doy-71cfc81ffcf6b6bcdea1ce94d11708b1bd449e76.zip |
fix regex for version from tag
-rw-r--r-- | lib/Dist/Zilla/PluginBundle/DOY.pm | 4 |
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', ); |