[tbb-commits] [tor-browser-build/master] Bug 24995: include git hash in tor --version
gk at torproject.org
gk at torproject.org
Mon Feb 5 10:00:59 UTC 2018
commit c873b63900021e29f7ac01c92145e91a7cb64fff
Author: Nicolas Vigier <boklm at torproject.org>
Date: Wed Jan 24 16:44:20 2018 +0100
Bug 24995: include git hash in tor --version
---
projects/tor/build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/projects/tor/build b/projects/tor/build
index 14ba58e..f6b507f 100644
--- a/projects/tor/build
+++ b/projects/tor/build
@@ -58,6 +58,8 @@ openssldir=/var/tmp/dist/openssl
[% END %]
cd /var/tmp/build/[% project %]-[% c('version') %]
+# add git hash to micro-revision.i for #24995
+echo '"[% c("abbrev", { abbrev_length => 16 }) %]"' > micro-revision.i
./autogen.sh
find -type f -print0 | xargs -0 [% c("var/touch") %]
./configure --disable-asciidoc --with-libevent-dir="$libeventdir" --with-openssl-dir="$openssldir" \
More information about the tbb-commits
mailing list