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

[tor-commits] [tor-browser-build/master] Bug 34163: Fix versionCode for testbuilds



commit 691a762b633c16cd7ee00b32f2284cf1bb3e9278
Author: Georg Koppen <gk@xxxxxxxxxxxxxx>
Date:   Fri Sep 25 13:41:53 2020 +0000

    Bug 34163: Fix versionCode for testbuilds
---
 projects/common/get-moz-build-date | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/projects/common/get-moz-build-date b/projects/common/get-moz-build-date
index a43f2f7..5932a6f 100755
--- a/projects/common/get-moz-build-date
+++ b/projects/common/get-moz-build-date
@@ -10,8 +10,9 @@ if ($version =~ m/^tbb-nightly\.([^\.]+)\.([^\.]+)\.([^\.]+)$/) {
   $date = sprintf("%d%02d%02d010101", $1, $2, $3);
 } elsif ($version eq 'testbuild') {
   # There is no need for an increasing build date in test builds. Just hardcode
-  # it.
-  $date = 20010101010101;
+  # it to a value that is compatible with the v1 versionCode scheme on Android,
+  # see: #34163.
+  $date = 20150801000000;
 } else {
   my @v = split(/[\.ab]/, $version);
   push @v, '0' if @v < 4;



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