summaryrefslogtreecommitdiffstats
path: root/build-release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-01-26 08:21:04 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-01-26 08:21:04 (EST)
commit7e3a6a658eb3c33155ca88cc426307abf6208396 (patch)
treee27f2387899092a3f87b2f9289050946a71b7e6b /build-release
parent90a28eb32a4d734cd2db25ee1fd3a2fe0cae02d6 (diff)
downloadlibreboot-7e3a6a658eb3c33155ca88cc426307abf6208396.zip
libreboot-7e3a6a658eb3c33155ca88cc426307abf6208396.tar.gz
libreboot-7e3a6a658eb3c33155ca88cc426307abf6208396.tar.bz2
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.
Diffstat (limited to 'build-release')
-rwxr-xr-xbuild-release3
1 files changed, 3 insertions, 0 deletions
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
# ----------------------------------------------------------------------------------------------------------------------------