Permalink
Browse files

allow DEV versions

  • Loading branch information...
1 parent 0acebb7 commit 7358656ce1fc2ffa15580dbadc6e56735adfaed6 @rjbs committed Jun 5, 2009
Showing with 5 additions and 1 deletion.
  1. +3 −0 Changes
  2. +2 −1 lib/Dist/Zilla/PluginBundle/RJBS.pm
View
@@ -1,6 +1,9 @@
Revision history for {{$dist->name}}
{{$NEXT}}
+ env var "DEV" now causes _zzz version suffix
+
+0.091390
env var "N" now sets final digit of autoversion
0.091370 2009-05-12
@@ -30,7 +30,8 @@ sub bundle_config {
my $major_version = defined $arg->{version} ? $arg->{version} : 0;
my $format = q<{{ $major }}.{{ cldr('yyDDD') }}>
- . sprintf '%01u', ($ENV{N} || 0);
+ . sprintf('%01u', ($ENV{N} || 0))
+ . ($ENV{DEV} ? (sprintf '_%03u', $ENV{DEV}) : '') ;
my @plugins = Dist::Zilla::PluginBundle::Filter->bundle_config({
bundle => '@Classic',

0 comments on commit 7358656

Please sign in to comment.