[Gluster-devel] Weird tag name of 3.5.0qa2 from git
Niels de Vos
ndevos at redhat.com
Thu Apr 24 07:49:30 UTC 2014
On Thu, Apr 24, 2014 at 11:10:36AM +0530, Kaushal M wrote:
> v3.5qa2 is the latest tag on the master branch. This is why 'git
> describe --tags' is picking that up.
Maybe someone should create a tag like v3.devel or something in the
master branch? When the next branching for release-3.6 gets done, that
branch should get an initial minor change (start with release notes?)
and have that tagged like v3.6.0alpha (make sure to include the .0 and
start with 'alpha' so that 'beta' will be seen as an update).
If I'm not mistaken, this would 'fix' the unexpected versioning.
> On Thu, Apr 24, 2014 at 4:30 AM, Justin Clift <justin at gluster.org> wrote:
> > Hi Kaleb,
> > Noticed this in the log of today's IRC meeting:
> > 15:58:30 <kkeithley> I built the $HEAD of master and noticed that the dist tarball hasd 3.5.0qa2 in the name.
> > This may be related to weird behaviour I saw a while ago
> > when tracing through the rpm.t build process. git is
> > weirdly picking an old tag instead of a recent one when
> > "git describe --tags" is being used.
> > $ git describe --tags
> > v3.5qa2-365-g00e247e
> > Anyway, for the non rpm.t case, the weird package version
> > is may be coming from build-aux/pkg-version in our git repo.
> > It's first part is this:
> > PKG_VERSION=`cat VERSION 2> /dev/null || git describe --tags --match "v[0-9]*"`
> > Which will pick up that v3.5qa2-365-g00e247e (then strip the
> > -365-g00e247e off later).
> > Not sure if that helps... ;)
> > + Justin
> > --
> > Open Source and Standards @ Red Hat
> > twitter.com/realjustinclift
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at nongnu.org
> > https://lists.nongnu.org/mailman/listinfo/gluster-devel
More information about the Gluster-devel