[tor-commits] [tor-messenger-build/master] Include hg_hash in the build_id

boklm at torproject.org boklm at torproject.org
Thu Jan 12 13:12:38 UTC 2017


commit 6ac4d206ff4bc4eb919f05f39600061b8b146f6f
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Thu Jan 12 14:09:47 2017 +0100

    Include hg_hash in the build_id
---
 rbm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rbm.conf b/rbm.conf
index 0404940..300465f 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -11,7 +11,7 @@ var:
   build_id: '[% sha256(c("var/build_id_txt")).substr(0, 6) %]'
   build_id_txt: |
     [% c("version") %]
-    [% IF c("git_hash"); GET c("abbrev"); END; %]
+    [% IF c("git_hash") || c("hg_hash"); GET c("abbrev"); END; %]
     [% IF c("remote_docker") -%]
     [% c("distribution") %]
     [% END -%]



More information about the tor-commits mailing list