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>
This commit is contained in:
parent
b3706faf0d
commit
8648fcd52a
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user