[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-build/master] Bug 24995: include git hash in tor --version



commit c873b63900021e29f7ac01c92145e91a7cb64fff
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
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" \

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits