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: Mikael Jansson
Subject: Re: [STUMP] Use git describe in *version* when building from git
Date: Tue, 10 Nov 2009 11:02:56 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

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. 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.
> 
post-commit-hook containing

  echo "(defvar *version* \"$(git describe)\")" > version.lisp-expr

or something similar?

-- 
Mikael Jansson | http://mikael.jansson.be | GPG Key 0x88986608
Limp: The Vim Lisp IDE - http://mikael.jansson.be/hacking/limp




reply via email to

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