Return-Path: Delivered-To: apmail-buildr-dev-archive@www.apache.org Received: (qmail 91948 invoked from network); 10 Feb 2009 00:16:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 00:16:43 -0000 Received: (qmail 5777 invoked by uid 500); 10 Feb 2009 00:16:43 -0000 Delivered-To: apmail-buildr-dev-archive@buildr.apache.org Received: (qmail 5762 invoked by uid 500); 10 Feb 2009 00:16:43 -0000 Mailing-List: contact dev-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list dev@buildr.apache.org Received: (qmail 5746 invoked by uid 99); 10 Feb 2009 00:16:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2009 16:16:43 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of boisvert@intalio.com designates 209.85.146.182 as permitted sender) Received: from [209.85.146.182] (HELO wa-out-1112.google.com) (209.85.146.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 00:16:36 +0000 Received: by wa-out-1112.google.com with SMTP id v33so1035903wah.21 for ; Mon, 09 Feb 2009 16:16:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.115.110.6 with SMTP id n6mr4084597wam.12.1234224972176; Mon, 09 Feb 2009 16:16:12 -0800 (PST) In-Reply-To: <3de5d7d20902082243h76c5d23ay69c013fba2d0cb25@mail.gmail.com> References: <5582dd3b0902061451p31cd8b0ft974c4af5585dc387@mail.gmail.com> <3de5d7d20902082243h76c5d23ay69c013fba2d0cb25@mail.gmail.com> Date: Mon, 9 Feb 2009 16:16:12 -0800 Message-ID: <5582dd3b0902091616ydeb0865r7fd9b65ffb3cdbdb@mail.gmail.com> Subject: Re: No beta or RC? From: Alex Boisvert To: dev@buildr.apache.org Content-Type: multipart/alternative; boundary=0016364575960a1cf904628565ab X-Virus-Checked: Checked by ClamAV on apache.org --0016364575960a1cf904628565ab Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 wrote: > On Fri, Feb 6, 2009 at 2:51 PM, Alex Boisvert > 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 > >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 > > > > > > --0016364575960a1cf904628565ab--