diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-01-26 13:21:04 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-01-26 13:21:04 +0000 |
commit | 7e3a6a658eb3c33155ca88cc426307abf6208396 (patch) | |
tree | e27f2387899092a3f87b2f9289050946a71b7e6b | |
parent | 90a28eb32a4d734cd2db25ee1fd3a2fe0cae02d6 (diff) | |
download | librebootfr-7e3a6a658eb3c33155ca88cc426307abf6208396.tar.gz librebootfr-7e3a6a658eb3c33155ca88cc426307abf6208396.zip |
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.
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | build-release | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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 # ---------------------------------------------------------------------------------------------------------------------------- |