From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUjI-0005p5-Mn for qemu-devel@nongnu.org; Wed, 18 Jul 2012 09:55:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrUjA-00021H-4c for qemu-devel@nongnu.org; Wed, 18 Jul 2012 09:55:52 -0400 Received: from e9.ny.us.ibm.com ([32.97.182.139]:33604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUj9-0001zA-Ve for qemu-devel@nongnu.org; Wed, 18 Jul 2012 09:55:44 -0400 Received: from /spool/local by e9.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 Jul 2012 09:55:42 -0400 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 56B9438C8087 for ; Wed, 18 Jul 2012 09:55:38 -0400 (EDT) Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6IDtatg46727232 for ; Wed, 18 Jul 2012 09:55:36 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6IDtZ8b022697 for ; Wed, 18 Jul 2012 10:55:36 -0300 From: Anthony Liguori In-Reply-To: <5006BCB4.1010502@redhat.com> References: <1342550012-5697-1-git-send-email-aliguori@us.ibm.com> <20120717191252.GC2880@illuin> <5006BCB4.1010502@redhat.com> Date: Wed, 18 Jul 2012 08:55:32 -0500 Message-ID: <87d33t897v.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] build: add make dist target (v2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , Michael Roth Cc: qemu-devel@nongnu.org Gerd Hoffmann 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 >>> Signed-off-by: Anthony Liguori >> >> 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