Commit 3b653d3c authored by Matthew Finkel's avatar Matthew Finkel
Browse files

fixup! squash! Modify build system

parent 2bf57ad0
Pipeline #2449 failed with stages
......@@ -19,10 +19,11 @@ object Config {
private fun generateDebugVersionName(): String {
var today = Date()
if (System.getenv("MOZ_BUILD_DATE") != null) {
val today = if (System.getenv("MOZ_BUILD_DATE") != null) {
val format = SimpleDateFormat("yyyyMMddHHmmss", Locale.US)
today = format.parse(System.getenv("MOZ_BUILD_DATE"))
} else {
// Append the year (2 digits) and week in year (2 digits). This will make it easier to distinguish versions and
// identify ancient versions when debugging issues. However this will still keep the same version number during
Supports Markdown
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