Commit afac50a0 authored by Georg Koppen's avatar Georg Koppen Committed by Matthew Finkel
Browse files

Bug 40042: Add option do overwrite timestamp in extension version

parent 2602c3aa
......@@ -678,7 +678,10 @@ ext.updateExtensionVersion = { task, extDir ->
rename { 'manifest.json' }
into extDir
def values = ['version': AndroidComponents.VERSION + "." + new Date().format('MMddHHmmss')]
def systemEnvBuildDate = System.getenv('MOZ_BUILD_DATE')
def values = ['version': AndroidComponents.VERSION + "." +
(systemEnvBuildDate != null ? systemEnvBuildDate :
new Date().format('MMddHHmmss'))]
inputs.properties(values)
expand(values)
}
......
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