Wrong versionName when not building latest version (#314)

This commit is contained in:
Jozef Hollý 2016-05-25 16:10:03 +02:00 committed by inorichi
parent 8086d1db46
commit a4b6003e58

View File

@ -8,7 +8,7 @@ ext {
// Git is needed in your system PATH for these commands to work.
// If it's not installed, you can return a random value as a workaround
getCommitCount = {
return 'git rev-list --count origin/master'.execute().text.trim()
return 'git rev-list --count HEAD'.execute().text.trim()
// return "1"
}