Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
android-components
Commits
01a33c82
Unverified
Commit
01a33c82
authored
Oct 02, 2020
by
Georg Koppen
Committed by
boklm
Jul 14, 2021
Browse files
Bug 40013: Add option do overwrite timestamp in extension version
parent
0b4838c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
01a33c82
...
...
@@ -106,7 +106,13 @@ subprojects {
rename
{
'manifest.json'
}
into
extDir
def
values
=
[
'version'
:
rootProject
.
ext
.
config
.
componentsVersion
+
"."
+
new
Date
().
format
(
'MMddHHmmss'
)]
def
systemEnvBuildDate
=
System
.
getenv
(
'MOZ_BUILD_DATE'
)
// MOZ_BUILD_DATE is in the YYYYMMDDHHMMSS format. Thus, we only use a
// substring of it if it is available.
def
values
=
[
'version'
:
rootProject
.
ext
.
config
.
componentsVersion
+
"."
+
(
systemEnvBuildDate
!=
null
?
systemEnvBuildDate
.
substring
(
4
)
:
new
Date
().
format
(
'MMddHHmmss'
))]
inputs
.
properties
(
values
)
expand
(
values
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment