gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Weird tag name of 3.5.0qa2 from git


From: Kaushal M
Subject: Re: [Gluster-devel] Weird tag name of 3.5.0qa2 from git
Date: Thu, 24 Apr 2014 11:10:36 +0530

v3.5qa2 is the latest tag on the master branch. This is why 'git
describe --tags' is picking that up.

~kaushal

On Thu, Apr 24, 2014 at 4:30 AM, Justin Clift <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/gluster-devel



reply via email to

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