Skip to content

Commit

Permalink
it is now safe to declare $VERSION using our; automate the incrementi…
Browse files Browse the repository at this point in the history
…ng after release
  • Loading branch information
karenetheridge committed Jan 4, 2015
1 parent 26b9aa4 commit 978f25c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ PkgVersion.die_on_existing_version = 0
AutoPrereqs.skip = ^Foo$
-remove = PodWeaver
-remove = Test::PodSpelling
-remove = PkgVersion
-remove = Git::NextVersion

; WARNING: this config will require updates when my author bundle
; switches to using [RewriteVersion::Transitional] and
; [BumpVersionAfterRelease::Transitional] with an extra [Git::Commit].
[RewriteVersion]
[BumpVersionAfterRelease]
[Git::Commit / bumped $VERSION after release]
allow_dirty_match = ^lib
commit_msg = After release: bump $VERSION
[Git::Push / push $VERSION bump]

[Encoding]
match = ^corpus
Expand Down
2 changes: 2 additions & 0 deletions lib/Module/Metadata.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ sub __clean_eval { eval $_[0] }
use strict;
use warnings;

our $VERSION = '1.000025';

use Carp qw/croak/;
use File::Spec;
BEGIN {
Expand Down

0 comments on commit 978f25c

Please sign in to comment.