From 7e3a6a658eb3c33155ca88cc426307abf6208396 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 26 Jan 2015 13:21:04 +0000 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. --- .gitignore | 1 + build-release | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index bfd4b59b..f3fc71e1 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 2b634fcf..4b07c5ea 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 v1.2.3-70-g09d2