Skip to contentSkip to conversation

make-release: Record SeaBIOS version

PATCH Applied Andreas Färber 3 participants 4 messages Mar 20, 2014 – Mar 31, 2014

lore
Share & tools
lore
#0 lore raw

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
index 186358d..fa6323f 100755
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
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

#2 lore raw

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/.git

Looks good. Mimics what roms/seabios/scripts/buildversion.sh is doing in case .git is present.

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
#3 lore raw
Quoted 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/.git

Looks good. Mimics what roms/seabios/scripts/buildversion.sh is doing in case .git is present.

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