summaryrefslogtreecommitdiffstats
path: root/scripts/make-release
diff options
context:
space:
mode:
authorAndreas Färber2014-03-20 02:01:55 +0100
committerPeter Maydell2014-03-31 16:02:04 +0200
commit8648fcd52a9bcc2aa415cbe87b7c636e545acb38 (patch)
treee0049892d9fc0a143b03123a9522aff8efdbf5c5 /scripts/make-release
parentMerge remote-tracking branch 'remotes/rth/tcg-arm-unaligned' into staging (diff)
downloadqemu-8648fcd52a9bcc2aa415cbe87b7c636e545acb38.tar.gz
qemu-8648fcd52a9bcc2aa415cbe87b7c636e545acb38.tar.xz
qemu-8648fcd52a9bcc2aa415cbe87b7c636e545acb38.zip
make-release: Record SeaBIOS version
Before deleting .git, determine the version and save it in .version file. Cc: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Message-id: 1395277315-7806-1-git-send-email-afaerber@suse.de Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/make-release')
-rwxr-xr-xscripts/make-release1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/make-release b/scripts/make-release
index 186358dc7e..fa6323fda8 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}