summaryrefslogtreecommitdiff
path: root/dist.ini
diff options
context:
space:
mode:
authorKaren Etheridge <ether@cpan.org>2017-12-09 18:39:08 -0800
committerKaren Etheridge <ether@cpan.org>2017-12-09 18:39:08 -0800
commit437e55167a8070e4723d73d04a40ff2386acc4e0 (patch)
treee0cebfaf8d5de42c2c5c05b7328b59fb1316d9e8 /dist.ini
parentb7680860f323a0cf3ffe5f6bdb684646e1ecac33 (diff)
downloaduri-437e55167a8070e4723d73d04a40ff2386acc4e0.tar.gz
switch awful substitution oneliner with new BumpVersionAfterRelease option
Diffstat (limited to 'dist.ini')
-rw-r--r--dist.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/dist.ini b/dist.ini
index ef22e60..0f95c50 100644
--- a/dist.ini
+++ b/dist.ini
@@ -191,8 +191,9 @@ commit_msg = %N-%v%t%n%n%c
[Git::Tag]
-[Run::AfterRelease]
-run = perl -MVersion::Next -p -i -e'BEGIN { $ENV{NEXT_VERSION} = Version::Next::next_version("%v") } s/.VERSION = .\K%v/$ENV{NEXT_VERSION}/;' `find lib -type f`
+[BumpVersionAfterRelease]
+:version = 0.016
+all_matching = 1
[Git::Commit / post-release commit]
allow_dirty_match = ^lib/.*\.pm$