[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: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [PATCH] build: add make dist target (v2) |
Date: |
Wed, 18 Jul 2012 08:55:32 -0500 |
User-agent: |
Notmuch/0.13.2+60~g7ecf77d (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Gerd Hoffmann <address@hidden> writes:
> 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'.
As long as it doesn't break release tarballs, I'm very open to patches
to make this more generally useful.
Regards,
Anthony Liguori
>
> cheers,
> Gerd