Add commit ID to about screen
This commit is contained in:
parent
0d2f99a1a7
commit
184ac34500
|
@ -121,7 +121,8 @@ task filterAbout {
|
||||||
from 'src/main/templates/about.html'
|
from 'src/main/templates/about.html'
|
||||||
into 'src/main/assets'
|
into 'src/main/assets'
|
||||||
filter(ReplaceTokens, tokens: [versionname: android.defaultConfig.versionName,
|
filter(ReplaceTokens, tokens: [versionname: android.defaultConfig.versionName,
|
||||||
versioncode: android.defaultConfig.versionCode.toString()])
|
versioncode: android.defaultConfig.versionCode.toString(),
|
||||||
|
commit: "git rev-parse HEAD".execute().text[0..6]])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
<img src="logo.png" alt="Logo" width="100px" height="100px"/>
|
<img src="logo.png" alt="Logo" width="100px" height="100px"/>
|
||||||
|
|
||||||
<p>AntennaPod, Version @versionname@, Build @versioncode@</p>
|
<p>AntennaPod, Version @versionname@, Build @versioncode@</p>
|
||||||
|
<p>commit: @commit@</p>
|
||||||
|
|
||||||
<p>Created by Daniel Oeh</p>
|
<p>Created by Daniel Oeh</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue