From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQRMz-0002xo-67 for qemu-devel@nongnu.org; Wed, 19 Mar 2014 21:02:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQRMt-0006MN-6c for qemu-devel@nongnu.org; Wed, 19 Mar 2014 21:02:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:60470 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQRMt-0006MB-0Y for qemu-devel@nongnu.org; Wed, 19 Mar 2014 21:01:59 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 20 Mar 2014 02:01:55 +0100 Message-Id: <1395277315-7806-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH RFT for-2.0-rc1] make-release: Record SeaBIOS version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , anthony@codemonkey.ws, Gerd Hoffmann Before deleting .git, determine the version and save it in .version file. Cc: Gerd Hoffmann Signed-off-by: Andreas F=C3=A4rber --- scripts/make-release | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/make-release b/scripts/make-release index 186358d..fa6323f 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -18,6 +18,7 @@ git clone "${src}" ${destination} pushd ${destination} git checkout "v${version}" git submodule update --init +(cd roms/seabios && git describe --tags --long --dirty > .version) rm -rf .git roms/*/.git dtc/.git pixman/.git popd tar cfj ${destination}.tar.bz2 ${destination} --=20 1.8.4.5