Skip to main content
Sign in
Snippets Groups Projects
Commit 7fae8adc 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 a935f9e3
No related branches found
No related tags found
1 merge request!39Bug 40050 01
......@@ -679,7 +679,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)
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment