[Top][All Lists]
[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
- Re: [STUMP] Re: Use git describe in *version* when building from git, (continued)
- Re: [STUMP] Re: Use git describe in *version* when building from git, Shawn Betts, 2009/11/10
- Re: [STUMP] Re: Use git describe in *version* when building from git, Ben Spencer, 2009/11/12
- Re: [STUMP] Re: Use git describe in *version* when building from git, Shawn Betts, 2009/11/12
- Re: [STUMP] Re: Use git describe in *version* when building from git, Ben Spencer, 2009/11/13
- Re: [STUMP] Re: Use git describe in *version* when building from git, Julian Stecklina, 2009/11/13
- Re: [STUMP] Re: Use git describe in *version* when building from git, Shawn Betts, 2009/11/13
Re: [STUMP] Re: Use git describe in *version* when building from git, Ben Spencer, 2009/11/12
Re: [STUMP] Use git describe in *version* when building from git, Ben Spencer, 2009/11/10