summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xbuild-release3
2 files changed, 4 insertions, 0 deletions
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
# ----------------------------------------------------------------------------------------------------------------------------