automake
[Top][All Lists]
Advanced

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

Problems with gnits standard and git-version-gen


From: Werner LEMBERG
Subject: Problems with gnits standard and git-version-gen
Date: Fri, 07 Feb 2014 08:55:03 +0100 (CET)

Folks,


I try to make a release candidate.  Theoretically, I could use version
`0.99.99' or something similar, however, it looks much nicer IMHO to
use `1.00rc0'.  Unfortunately, the gnits standard currently prevents
this.  To be more precise, it's the following regex in the automake
script:

  my $GNITS_VERSION_PATTERN = '\d+\.\d+([a-z]|\.\d+)?(-[A-Za-z0-9]+)?';

My next try was using `1.00-rc0'.  However, now git-version-get
complains since this line

  vtag=`echo "$v" | sed 's/-.*//'`

strips off any `-' characters while parsing output from `git
describe'.

IMHO, git-version-gen's approach is too simplistic and must be
improved.  On the other hand, I wonder why the gnits standard doesn't
allow non-numeric suffixes...


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]