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

[tor-commits] [tor-browser-build/master] Add var/release, var/alpha, var/nightly options



commit bec3345342b0a60a5a8e908e50a37dbdd4e0697b
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
Date:   Thu Aug 3 23:44:17 2017 +0200

    Add var/release, var/alpha, var/nightly options
    
    Add some options to be able to write things like this in templates:
    
    [% IF c("var/release") -%]
    do something on release channel
    [% ELSIF c("var/alpha") -%]
    do something on alpha channel
    [% ELSIF c("var/nightly") -%]
    do something on nightly channel
    [% END -%]
---
 rbm.conf | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/rbm.conf b/rbm.conf
index c93019e..327cd39 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -98,8 +98,15 @@ targets:
   noint:
     debug: 0
 
+  release:
+    var:
+      release: 1
+  alpha:
+    var:
+      alpha:1
   nightly:
     var:
+      nightly: 1
       multi_lingual: 1
 
   torbrowser-testbuild:



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