Re: Releasing a candidate

John Peacock <[email protected]> Sat, 13 Mar 2010 21:24:47 -0500
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
On 03/13/2010 07:26 AM, Johan Vromans wrote:
> Working late to get a release candidate ready for upload.
> Change the version number to "2.00.RC1". Yes, with quotes.

Where?  Did you change that in Build.PL or in the $VERSION assignment in 
the main .pm file?

> Version '2.00.' ?
>
> Did I miss something in the docs about not being able to manifacture
> your own version number?
            ^^^^^^^^^^^^^^

Version number is the applicable phrase there.  Perl doesn't understand 
anything except numbers (and PAUSE/CPAN too as far as I know).  You 
/could/ use version::AlphaBeta (but I wouldn't recommend it).  This 
doesn't really have anything to do with version.pm, per se, but that 
won't help matters (since the parser will explicitly stop at the first 
non-numeric).  Try running `perl -w Build.PL` and see what that tells you.

You cannot just dump random text into $VERSION and expect it to work. 
Among other things, how do you expect tools to sort this release with 
all of the other releases you are making?

John