Browse code

Simplify include/versions.wmi

When Tor Browser platforms are all at the same version, define the version
and release date in only one place.

Nicolas Vigier authored on16/11/2017 13:18:18
Showing1 changed files
... ...
@@ -1,31 +1,43 @@
1 1
 <define-tag version-stable whitespace=delete>0.3.1.8</define-tag>
2 2
 <define-tag version-alpha whitespace=delete>0.3.2.4-alpha</define-tag>
3 3
 
4
+<define-tag version-torbrowserdevelopbranch whitespace=delete>maint-7.0</define-tag>
5
+
6
+# *** tor browser stable ***
7
+<define-tag version-torbrowserbundle-all whitespace=delete>7.0.10</define-tag>
8
+<define-tag releasedate-torbrowserbundle-all whitespace=delete>2017-11-14</define-tag>
9
+
10
+# If all platforms are on the same version, you only to update
11
+# version-torbrowserbundle-all and releasedate-torbrowserbundle-all
12
+<let version-torbrowserbundle=version-torbrowserbundle-all />
13
+<let releasedate-torbrowserbundle=releasedate-torbrowserbundle-all />
14
+<let version-torbrowserbundlelinux32=version-torbrowserbundle-all />
15
+<let releasedate-torbrowserbundlelinux32=releasedate-torbrowserbundle-all />
16
+<let version-torbrowserbundlelinux64=version-torbrowserbundle-all />
17
+<let releasedate-torbrowserbundlelinux64=releasedate-torbrowserbundle-all />
18
+<let version-torbrowserbundleosx64=version-torbrowserbundle-all />
19
+<let releasedate-torbrowserbundleosx64=releasedate-torbrowserbundle-all />
20
+
4 21
 <define-tag version-win32-stable whitespace=delete>0.3.1.8</define-tag>
22
+<define-tag package-win32-stable whitespace=delete>../dist/torbrowser/<version-torbrowserbundle>/tor-win32-<version-win32-stable>.zip</define-tag>
5 23
 
6
-<define-tag version-torbrowserdevelopbranch whitespace=delete>maint-7.0</define-tag>
24
+# *** tor browser beta/alpha ***
25
+<define-tag version-torbrowserbundlebeta-all whitespace=delete>7.5a6</define-tag>
26
+<define-tag releasedate-torbrowserbundlebeta-all whitespace=delete>2017-10-20</define-tag>
27
+
28
+# If all platforms are on the same version, you only need to update
29
+# version-torbrowserbundlebeta-all and releasedate-torbrowserbundlebeta-all
30
+<let version-torbrowserbundlebeta=version-torbrowserbundlebeta-all />
31
+<let releasedate-torbrowserbundlebeta=releasedate-torbrowserbundlebeta-all />
32
+<let version-torbrowserbundlelinux32beta=version-torbrowserbundlebeta-all />
33
+<let releasedate-torbrowserbundlelinux32beta=releasedate-torbrowserbundlebeta-all />
34
+<let version-torbrowserbundlelinux64beta=version-torbrowserbundlebeta-all />
35
+<let releasedate-torbrowserbundlelinux64beta=releasedate-torbrowserbundlebeta-all />
36
+<let version-torbrowserbundleosx64beta=version-torbrowserbundlebeta-all />
37
+<let releasedate-torbrowserbundleosx64beta=releasedate-torbrowserbundlebeta-all />
7 38
 
8
-<define-tag version-torbrowserbundle whitespace=delete>7.0.10</define-tag>
9
-<define-tag releasedate-torbrowserbundle whitespace=delete>2017-11-14</define-tag>
10
-<define-tag version-torbrowserbundlebeta whitespace=delete>7.5a6</define-tag>
11
-<define-tag releasedate-torbrowserbundlebeta whitespace=delete>2017-10-20</define-tag>
12
-
13
-<define-tag version-torbrowserbundlelinux32 whitespace=delete>7.0.10</define-tag>
14
-<define-tag releasedate-torbrowserbundlelinux32 whitespace=delete>2017-11-14</define-tag>
15
-<define-tag version-torbrowserbundlelinux64 whitespace=delete>7.0.10</define-tag>
16
-<define-tag releasedate-torbrowserbundlelinux64 whitespace=delete>2017-11-14</define-tag>
17
-<define-tag version-torbrowserbundlelinux32beta whitespace=delete>7.5a7</define-tag>
18
-<define-tag releasedate-torbrowserbundlelinux32beta whitespace=delete>2017-11-04</define-tag>
19
-<define-tag version-torbrowserbundlelinux64beta whitespace=delete>7.5a7</define-tag>
20
-<define-tag releasedate-torbrowserbundlelinux64beta whitespace=delete>2017-11-04</define-tag>
21
-
22
-<define-tag version-torbrowserbundleosx64 whitespace=delete>7.0.10</define-tag>
23
-<define-tag releasedate-torbrowserbundleosx64 whitespace=delete>2017-11-14</define-tag>
24
-<define-tag version-torbrowserbundleosx64beta whitespace=delete>7.5a7</define-tag>
25
-<define-tag releasedate-torbrowserbundleosx64beta whitespace=delete>2017-11-04</define-tag>
26 39
 <define-tag version-torbrowsersandboxlinux whitespace=delete>0.0.14</define-tag>
27 40
 
28
-<define-tag package-win32-stable whitespace=delete>../dist/torbrowser/<version-torbrowserbundle>/tor-win32-<version-win32-stable>.zip</define-tag>
29 41
 
30 42
 <define-tag file-source-stable whitespace=delete>tor-<version-stable>.tar.gz</define-tag>
31 43
 <define-tag package-source-stable whitespace=delete>../dist/<file-source-stable></define-tag>