stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] Use git describe in *version* when building from git


From: Ben Spencer
Subject: Re: [STUMP] Use git describe in *version* when building from git
Date: Tue, 10 Nov 2009 18:18:41 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

On Tue, Nov 10, 2009 at 01:23:29AM -0800, Shawn Betts wrote:
> The reason I chose the x.y.z-git format for the version was to show
> that stumpwm was bult from the repository and not a tarball release
> version. Now that we have the git hash appearing in the version
> command output It would be nice to set the autoconf version to
> "BLEEDING-EDGE" or something. Then there's no question what version
> you're running. For releases the version should just be x.y.z.

I'm probably missing something, but how does it get to be x.y.z rather
than x.y.z-git or BLEEDING-EDGE in the release tarballs?

> It
> would be nice if somehow when building a release the version file
> didn't check for a .git directory and instead just used the version
> string to avoid possible weirdness but I dunno how feasible that is.

I don't think this is a problem - if you do a git describe and you
happen to be on a tagged commit you will just get the tag name (ie the
version number) on its own.


Ben




reply via email to

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