GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Unverified Commit 691a762b authored by Georg Koppen's avatar Georg Koppen
Browse files

Bug 34163: Fix versionCode for testbuilds

parent cb43b9ec
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment