mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Merge branch 'fix-build-timestamp' into 'master'
Make build timestamp command compatible with old versions of Git See merge request akwizgran/briar!811
This commit is contained in:
@@ -246,7 +246,7 @@ android {
|
||||
buildConfigField "String", "GitHash",
|
||||
"\"${getStdout(['git', 'rev-parse', '--short=7', 'HEAD'], 'No commit hash')}\""
|
||||
buildConfigField "Long", "BuildTimestamp",
|
||||
"${getStdout(['git', 'log', '-n', '1', '--date=unix', '--format=%cd'], 0)}000L"
|
||||
"${getStdout(['git', 'log', '-n', '1', '--format=%ct'], 0)}000L"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
||||
Reference in New Issue
Block a user