mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
revert diagnostic changes
This commit is contained in:
parent
acf86a2291
commit
285f6ad34a
1 changed files with 5 additions and 8 deletions
|
@ -10,14 +10,11 @@ boolean forFDroid = hasProperty('forFDroid')
|
|||
// Get the git revision we're using. Since fdroid modifies files as
|
||||
// part of its build process -dirty will always be added, confusing
|
||||
// users. So add that for the non-fdroid case.
|
||||
|
||||
def GITCMD = "git rev-parse HEAD"
|
||||
// if (! forFDroid) {
|
||||
// GITCMD += " --dirty"
|
||||
// }
|
||||
print "GITCMD: ${GITCMD}\n"
|
||||
def GITREV = GITCMD.execute().text.trim()
|
||||
print "GITREV: ${GITREV}\n"
|
||||
def GITREV = "git describe --tags"
|
||||
if (! forFDroid) {
|
||||
GITREV += " --dirty"
|
||||
}
|
||||
GITREV = GITREV.execute().text.trim()
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
|
|
Loading…
Reference in a new issue