From 798b792fa8087e0370ecb0c299612a8caf6aaa9c Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 01 Feb 2015 17:37:31 -0500 Subject: build-release: include the commitid file in the release archives --- (limited to 'build-release') diff --git a/build-release b/build-release index a2ff513..7e89d20 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 # ---------------------------------------------------------------------------------------------------------------------------- -- cgit v0.9.1