Matthew Finkel pushed to branch tor-browser-86.0.0b2-10.5-1 at The Tor Project / Applications / fenix
Commits:
-
b531202a
by Matthew Finkel at 2021-02-04T16:52:44+00:00
1 changed file:
Changes:
... | ... | @@ -19,7 +19,12 @@ object Config { |
19 | 19 |
|
20 | 20 |
@JvmStatic
|
21 | 21 |
private fun generateDebugVersionName(): String {
|
22 |
- val today = Date()
|
|
22 |
+ val today = if (System.getenv("MOZ_BUILD_DATE") != null) {
|
|
23 |
+ val format = SimpleDateFormat("yyyyMMddHHmmss", Locale.US)
|
|
24 |
+ format.parse(System.getenv("MOZ_BUILD_DATE"))
|
|
25 |
+ } else {
|
|
26 |
+ Date()
|
|
27 |
+ }
|
|
23 | 28 |
// Append the year (2 digits) and week in year (2 digits). This will make it easier to distinguish versions and
|
24 | 29 |
// identify ancient versions when debugging issues. However this will still keep the same version number during
|
25 | 30 |
// the week so that we do not end up with a lot of versions in tools like Sentry. As an extra this matches the
|