Don't show version code, commit is short hash only (no tag)
This commit is contained in:
parent
c38759ac0d
commit
4e8f9a13aa
|
@ -121,8 +121,7 @@ task filterAbout {
|
|||
from 'src/main/templates/about.html'
|
||||
into 'src/main/assets'
|
||||
filter(ReplaceTokens, tokens: [versionname: android.defaultConfig.versionName,
|
||||
versioncode: android.defaultConfig.versionCode.toString(),
|
||||
commit: "git describe".execute().text])
|
||||
commit: "git rev-parse --short HEAD".execute().text])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -41,8 +41,8 @@
|
|||
<div id="header" align="center">
|
||||
<img src="logo.png" alt="Logo" width="100px" height="100px"/>
|
||||
|
||||
<p>AntennaPod, Version @versionname@, Build @versioncode@</p>
|
||||
<p>commit: @commit@</p>
|
||||
<p>AntennaPod, Version @versionname@</p>
|
||||
<p>Commit: @commit@</p>
|
||||
|
||||
<p>Created by Daniel Oeh</p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue