Ugh? If beta is not a release but a pre-release, how do you pre-release a beta?
On Sun, Feb 8, 2009 at 10:43 PM, Assaf Arkin <ar...@intalio.com> wrote: > On Fri, Feb 6, 2009 at 2:51 PM, Alex Boisvert <boisv...@intalio.com> > wrote: > > > The Maven conventions don't restrict the version to only numbers, so > yeah, > > buildr should only strip a "-SNAPSHOT" suffix. > > > Actually it does: releases must end with numbers, pre-releases (rc, beta, > etc) with alphanumerics, and therefore 0 by virtue of being a release is > higher than beta2. OSGi uses alphanumerics on the fourth part, other > package managers have their own conventions. Buildr doesn't follow > anything > more complicated than numerical. > > Assaf > > > > > > > > > alex > > > > > > On Fri, Feb 6, 2009 at 2:35 PM, Matthieu Riou <matth...@offthelip.org > > >wrote: > > > > > Hi guys, > > > > > > The logic in release strips out any letter that comes after the last > ('.' > > + > > > digit) in a project release number. So something like 1.2-beta will > > > actually > > > be released as 1.2. Sounds to me like a bug but I just wanted to check > > > before that it wasn't by design, an adoption of the 'no letter in > > releases' > > > RubyGem doctrine. > > > > > > Given that the actual goal is only to strip an ending "-SNAPSHOT", the > > fix > > > is pretty straightforward. > > > > > > Cheers, > > > Matthieu > > > > > >