summaryrefslogtreecommitdiffstats
path: root/resources/scripts
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-08 09:27:53 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-06-08 09:27:53 (EDT)
commitbabc1932b47ef5f05d25074d953bf0e62630cab6 (patch)
treeef17430223bbb545f4a0707d39ef4308dec19818 /resources/scripts
parent80a4af4503318f48cb8ef2736112f58060006866 (diff)
downloadlibreboot-babc1932b47ef5f05d25074d953bf0e62630cab6.zip
libreboot-babc1932b47ef5f05d25074d953bf0e62630cab6.tar.gz
libreboot-babc1932b47ef5f05d25074d953bf0e62630cab6.tar.bz2
build/release/tobuild: include version file
Diffstat (limited to 'resources/scripts')
-rwxr-xr-xresources/scripts/helpers/build/release/tobuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/release/tobuild b/resources/scripts/helpers/build/release/tobuild
index afe1085..765e718 100755
--- a/resources/scripts/helpers/build/release/tobuild
+++ b/resources/scripts/helpers/build/release/tobuild
@@ -63,6 +63,8 @@ cp "resources/scripts/helpers/build/module/bucts" "${distdir}/resources/scripts/
cp "resources/scripts/helpers/build/module/flashrom" "${distdir}/resources/scripts/helpers/build/module/"
cp "resources/scripts/misc/powertop.trisquel7" "${distdir}/"
+printf '%s\n' "${version}" >"${distdir}/version"
+
# that is all. now tar it up
(cd "${versiondir}/" && tar -c "${distname}/" | xz -9e >"${distname}.tar.xz")