[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] build: add make dist target (v2)
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] build: add make dist target (v2) |
Date: |
Wed, 18 Jul 2012 15:40:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120601 Thunderbird/10.0.5 |
On 07/17/12 21:12, Michael Roth wrote:
> On Tue, Jul 17, 2012 at 01:33:32PM -0500, Anthony Liguori wrote:
>> Let's stop screwing up releases by having a script do the work that Anthony's
>> fat fingers can't seem to get right.
>>
>> Cc: Michael Roth <address@hidden>
>> Signed-off-by: Anthony Liguori <address@hidden>
>
> Breaks if there's no tag corresponding with the contents of VERSION,
> but that might be considered a feature (an alternative might be to
> assume it's a development release, use current HEAD for master, and append the
> short git hash to the version). Works well as far as I can tell though,
> and I made a special point to confirm it did indeed output a bz2 :)
Or just use 'git describe --long' to figure what the version is. This
way you can easily build a tarball for any git commit, and a release
tarball is just 'git checkout v$version; make dist'.
cheers,
Gerd