aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/release/sha512sums
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-12-06 05:36:40 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-12-06 05:36:40 +0000
commitfc4c24864a0672fce04f79abe76586ae487c104d (patch)
treecf54fa4ac965903dd98e360de96bd1640b5a32e6 /resources/scripts/helpers/build/release/sha512sums
parent4f4ec55f08d55acadd6723a54db638bd5ef04484 (diff)
downloadlibrebootfr-fc4c24864a0672fce04f79abe76586ae487c104d.tar.gz
librebootfr-fc4c24864a0672fce04f79abe76586ae487c104d.zip
Revert "Revert "grub: build reproducibly""
This reverts commit 6278d578f6f47ae2d2742b95c99df087a06d0e90.
Diffstat (limited to 'resources/scripts/helpers/build/release/sha512sums')
-rwxr-xr-xresources/scripts/helpers/build/release/sha512sums2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/sha512sums b/resources/scripts/helpers/build/release/sha512sums
index 456764b5..502f0591 100755
--- a/resources/scripts/helpers/build/release/sha512sums
+++ b/resources/scripts/helpers/build/release/sha512sums
@@ -25,9 +25,11 @@ set -u -e
if [ -f "version" ]; then
# _src release archive is being used
version="$(cat version)"
+ versiondate="$(cat versiondate)"
else
# git repo is being used
version="$(git describe --tags HEAD)"
+ versiondate="$(git show -s --format=%ct)"
fi
versiondir="release/${version}"
sha512filename="SHA512SUMS"