make-release: Record SeaBIOS version
PATCH 1/1 make-release: Record SeaBIOS version
Before deleting .git, determine the version and save it in .version file.
--- scripts/make-release | 1 + 1 file changed, 1 insertion(+)
scripts/make-release +1 -0
@@ -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}
Signature · 1 line
1.8.4.5
Quoted 2 lines
+(cd roms/seabios && git describe --tags --long --dirty > .version)
rm -rf .git roms/*/.git dtc/.git pixman/.git
Looks good. Mimics what roms/seabios/scripts/buildversion.sh is doing in case .git is present.
cheers,
Gerd
Am 20.03.2014 09:04, schrieb Gerd Hoffmann:
Quoted 7 lines
Quoted 2 lines
+(cd roms/seabios && git describe --tags --long --dirty > .version)
rm -rf .git roms/*/.git dtc/.git pixman/.gitLooks good. Mimics what
roms/seabios/scripts/buildversion.shis doing in case .git is present.Reviewed-by Gerd Hoffmann <[email protected]>
Ping! I have meanwhile confirmed that a roms/seabios/.version file with the expected contents gets included in the tarball with this patch.
Anthony, can you please confirm and use? Thanks!
Regards,
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Peter Maydell
AppliedQuoted 11 lines · Andreas Färber
Am 20.03.2014 09:04, schrieb Gerd Hoffmann:
Quoted 7 lines
Quoted 2 lines
+(cd roms/seabios && git describe --tags --long --dirty > .version)
rm -rf .git roms/*/.git dtc/.git pixman/.gitLooks good. Mimics what
roms/seabios/scripts/buildversion.shis doing in case .git is present.Reviewed-by Gerd Hoffmann <[email protected]>Ping! I have meanwhile confirmed that a roms/seabios/.version file with the expected contents gets included in the tarball with this patch.
Applied to master, thanks.
-- PMM