Be aware that the version is incremented by the release task<http://github.com/vic/buildr/blob/e35bc0fe8a0309d4cfdfb980af61cdb6f1a9990c/lib/buildr/core/build.rb#L292> .
Alexis On Fri, Feb 6, 2009 at 2:51 PM, Alex Boisvert <[email protected]> wrote: > The Maven conventions don't restrict the version to only numbers, so yeah, > buildr should only strip a "-SNAPSHOT" suffix. > > alex > > > On Fri, Feb 6, 2009 at 2:35 PM, Matthieu Riou <[email protected] > >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 > > >
