Hi, Erez.

There are two version number schemes in Perl: decimals and tuples
("dotted-decimals").  "0.2" is a decimal and "0.2.1" is a tuple and
they compare differently.

In short, for historical reasons, decimal "0.2" is equivalent to the
tuple "0.200.0".  Rather than switch to tuples, I would advise
incrementing to "0.21" instead.

The best tutorial is probably my blog post about it:
http://www.dagolden.com/index.php/369/version-numbers-should-be-boring/

Regards,
David

On Tue, Mar 18, 2014 at 5:45 AM, Erez Schatz <moonb...@gmail.com> wrote:
>
> Hey,
>
> Attempting to upload a fix of v 0.2 versioned 0.2.1 I've received an error
> claiming
> status : Not indexed because
>              Net-BitTorrentSync-0.2/lib/Net/BitTorrentSync.pm in
>              E/ER/EREZ/Net-BitTorrentSync-0.2.tar.gz has a higher
>              version number (0.2)
>
> I'm not versed in this numbering scheme, and assumed 0.2.1 is higher than
> 0.2, but this looks to not be the case
> Help is appreciated.
>
> Erez



-- 
David Golden <x...@xdg.me> Twitter/IRC: @xdg

Reply via email to