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.

Commit 7e2962e9 authored by Georg Koppen's avatar Georg Koppen Committed by Matthew Finkel

Bug 40042: Add option do overwrite timestamp in extension version

parent da95c149
......@@ -700,7 +700,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)
}
......
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