[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: beta version numbers?



> On Wed, Jul 07, 1999 at 05:20:30AM -0700, Joseph Carter wrote:
> > On Wed, Jul 07, 1999 at 12:00:13AM +0000, Bradley Bell wrote:
> > > has the issue of using things like alpha, beta, and pre in
> > > version numbers 
> > > ever been resolved?  The packaging manual says not to use epochs, so what
> > > should we do to make 1.0beta < 1.0?
> > 
> > 1.0beta6  ->  1-0beta6-1
> > 1.0       ->  1.0-1
> > 
> > knghtbrd@icarus2:~$ dpkg --compare-versions 1-0beta6-1 lt 1.0-1 \
> > > && echo true || echo false
> > true
> 
> Hmm, but how about an 1.2beta6 ?

How about 1.2-beta6 lt 1.2.0?  Works 'cos '-' < '.'.

   Julian

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg


Reply to: