1Dist::Zilla::Plugin::ReUvseerrsiCoonnOtnrRiebluDetiaessdte:(P:3eZprimll)lDao:c:uPmleungtiant:i:oRneversionOnRelease(3pm)
2
3
4
6 Dist::Zilla::Plugin::ReversionOnRelease - Bump and reversion $VERSION
7 on release
8
10 [VersionFromModule]
11 [ReversionOnRelease]
12 prompt = 1
13 [CopyFilesFromRelease]
14 match = \.pm$
15
17 This is a Dist::Zilla plugin that bumps version (a la "perl-reversion
18 -bump") in-place with the .pm files inside "lib". You should most
19 likely use this plugin in combination with
20 Dist::Zilla::Plugin::VersionFromModule so that current VERSION is taken
21 out of your main module, and then the released file is written back
22 after the release with Dist::Zilla::Plugin::CopyFilesFromRelease.
23
24 Unlike "perl-reversion", this module uses Version::Next to get more
25 naturally incremented version, instead of a little strict 3-digit rules
26 in Perl::Version.
27
28 You should not use this plugin with any code munging or Pod::Weaver
29 plugins.
30
31 By default, this plugin bumps version by the smallest possible increase
32 - if you have 0.001, the next version is 0.002. You can override that
33 by either running the plugin with "prompt" option to give the desired
34 value from the prompt, or by setting the environment variable "V":
35
36 > V=1.001000 dzil release
37
39 Tatsuhiko Miyagawa <miyagawa@bulknews.net>
40
42 Copyright 2013- Tatsuhiko Miyagawa
43
45 This library is free software; you can redistribute it and/or modify it
46 under the same terms as Perl itself.
47
49 · Dist::Milla
50
51 · Version::Next
52
53 · Dist::Zilla::Plugin::BumpVersion
54
55 · Dist::Zilla::Plugin::RewriteVersion - also takes $VERSION from the
56 main module; ensures all $VERSIONs are consistent
57
58 · Dist::Zilla::Plugin::BumpVersionAfterRelease - edits the $VERSION
59 in the repository code to reflect the new version, after release
60
61 · Dist::Zilla::Plugin::RewriteVersion::Transitional - like
62 Dist::Zilla::Plugin::RewriteVersion, but munges the version in if
63 it was not already present
64
65 · Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional - like
66 Dist::Zilla::Plugin::BumpVersionAfterRelease, but also adds the
67 $VERSION into the repository code if it was not already present
68
69
70
71perl v5.30.1 2D0i2s0t-:0:1Z-i2l9la::Plugin::ReversionOnRelease(3pm)