From patchwork Thu Mar 20 01:01:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 331939 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C69C22C00A4 for ; Thu, 20 Mar 2014 12:02:35 +1100 (EST) Received: from localhost ([::1]:44560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQRNQ-00038J-Ih for incoming@patchwork.ozlabs.org; Wed, 19 Mar 2014 21:02:32 -0400 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 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9ADE175013; Thu, 20 Mar 2014 01:01:57 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Thu, 20 Mar 2014 02:01:55 +0100 Message-Id: <1395277315-7806-1-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 1.8.4.5 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 195.135.220.15 Cc: peter.maydell@linaro.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= , anthony@codemonkey.ws, Gerd Hoffmann Subject: [Qemu-devel] [PATCH RFT for-2.0-rc1] make-release: Record SeaBIOS version X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Before deleting .git, determine the version and save it in .version file. Cc: Gerd Hoffmann Signed-off-by: Andreas Färber Reviewed-by: Gerd Hoffmann --- 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}