1PERL-REVERSION(1)     User Contributed Perl Documentation    PERL-REVERSION(1)
2
3
4

NAME

6       perl-reversion - Manipulate project version numbers
7

SYNOPSIS

9       perl-reversion [options] [file ...]
10
11        Options:
12
13           -help               see this summary
14           -man                view man page for perl-reversion
15           -bump               make the smallest possible increment
16
17           -bump-revision      increment the specified version component
18           -bump-version
19           -bump-subversion
20           -bump-alpha
21
22           -set <version>      set the project version number
23           -current <version>  specify the current version
24
25           -normal             print current version in a specific format OR
26           -numify             force versions to be a specific format,
27           -stringify          with -set or -bump
28
29           -dryrun             just go through the motions, but don't
30                               actually save files
31

DESCRIPTION

33       A typical distribution of a Perl module has embedded version numbers is
34       a number of places. Typically the version will be mentioned in the
35       README file and in each module's source. For a module the version may
36       appear twice: once in the code and once in the pod.
37
38       This script makes it possible to update all of these version numbers
39       with a simple command.
40
41       To update the version numbers of specific files name them on the
42       command line. Any directories will be recursively expanded.
43
44       If used with no filename arguments perl-reversion will attempt to
45       update README and any files below lib/ in the current project.
46

OPTIONS

48       "-bump"
49           Attempt to make the smallest possible increment to the version. The
50           least significant part of the version string is incremented.
51
52               1       =>  2
53               1.1     =>  1.2
54               1.1.1   =>  1.1.2
55               1.1.1_1 =>  1.1.1_2
56
57       "-bump-revision"
58       "-bump-version"
59       "-bump-subversion"
60       "-bump-alpha"
61           Increment the specified version component.  Like the "inc_*"
62           methods of Perl::Version, incrementing a component sets all
63           components to the right of it to zero.
64
65       "-set <version>"
66           Set the version to the specified value. Unless the "-normal" option
67           is also specified the format of each individual version string will
68           be preserved.
69
70       "-current <version>"
71           Specify the current version. Only matching version strings will be
72           updated.
73
74       "-normal"
75       "-numify"
76       "-stringify"
77           Use a specific formatting, as in "Formatting" in Perl::Version.
78
79           Alone, these options control how the current (found) version is
80           displayed.
81
82           With "-bump" or "-set", also update version strings to have the
83           given formatting, regardless of the version format passed to "-set"
84           or the current version (for "-bump").
85
86           If none of these options are specified, perl-reversion will
87           preserve the formatting of each individual version string (the same
88           as "-stringify").
89
90       "-dryrun"
91           If set, perl-reversion will not save files. Use this to see what
92           gets changed before it actually happens.
93

AUTHOR

95       Andy Armstrong  "<andy@hexten.net>"
96
98       Copyright (c) 2007, Andy Armstrong "<andy@hexten.net>". All rights
99       reserved.
100
101       This module is free software; you can redistribute it and/or modify it
102       under the same terms as Perl itself. See perlartistic.
103

DISCLAIMER OF WARRANTY

105       BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
106       FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
107       WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
108       PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
109       EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
110       WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
111       ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
112       YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
113       NECESSARY SERVICING, REPAIR, OR CORRECTION.
114
115       IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
116       WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
117       REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
118       TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
119       CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
120       SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
121       RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
122       FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
123       SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
124       DAMAGES.
125
126
127
128perl v5.30.0                      2019-07-26                 PERL-REVERSION(1)
Impressum