aboutsummaryrefslogtreecommitdiff
path: root/build-release
diff options
context:
space:
mode:
Diffstat (limited to 'build-release')
-rwxr-xr-xbuild-release12
1 files changed, 8 insertions, 4 deletions
diff --git a/build-release b/build-release
index a2ff513e..7e89d201 100755
--- a/build-release
+++ b/build-release
@@ -383,9 +383,16 @@ rm -f libreboot_src/ich9fdgbe_4m.bin
rm -rf libreboot_src/tobuild/
rm -f libreboot_src/tobuild.tar.xz
-# delete the "commitid" file (releases are tagged in git)
+# delete the old commitid file
+rm -f commitid
rm -f libreboot_src/commitid
+# create file showing the commit ID from git for this archive.
+cat .git/refs/heads/master > commitid
+# include it in the release archives
+cp commitid libreboot_src/
+cp commitid libreboot_bin/
+
echo "Creating compressed libreboot_src release archive"
# create lzma compressed src archive
@@ -396,9 +403,6 @@ 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
# ----------------------------------------------------------------------------------------------------------------------------