From 7e3a6a658eb3c33155ca88cc426307abf6208396 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 26 Jan 2015 08:21:04 -0500 Subject: build-release: create file named commitid after build-release Contains the current commit ID in master (local, not origin). This is mainly used by the libreboot website to show the commit ID that the source tarball snapshots are built from. --- diff --git a/.gitignore b/.gitignore index bfd4b59..f3fc71e 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ /ich9fdgbe_4m.bin /tobuild/ /tobuild.tar.xz +/commitid diff --git a/build-release b/build-release index 2b634fc..4b07c5e 100755 --- a/build-release +++ b/build-release @@ -393,6 +393,9 @@ echo "Creating compressed libreboot_bin release archive" # create lzma compressed bin archive tar cfJ libreboot_bin.tar.xz libreboot_bin +# create file showing the commit ID from git for this archive. +cat .git/refs/heads/master > commitid + # ### Delete the uncompressed release directories # ---------------------------------------------------------------------------------------------------------------------------- -- cgit v0.9.1