aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-06-08 14:27:53 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-06-08 14:27:53 +0100
commitbabc1932b47ef5f05d25074d953bf0e62630cab6 (patch)
treeef17430223bbb545f4a0707d39ef4308dec19818 /resources/scripts
parent80a4af4503318f48cb8ef2736112f58060006866 (diff)
downloadlibrebootfr-babc1932b47ef5f05d25074d953bf0e62630cab6.tar.gz
librebootfr-babc1932b47ef5f05d25074d953bf0e62630cab6.zip
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 afe1085a..765e7182 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")