mirror of
https://github.com/etlegacy/JoyStick.git
synced 2024-11-24 21:11:15 +00:00
gradle: version parsing fix
This commit is contained in:
parent
2541d84169
commit
ef6e142d1c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def parseGitVersion() {
|
||||||
if (output.toLowerCase().endsWith('-dirty')) {
|
if (output.toLowerCase().endsWith('-dirty')) {
|
||||||
patchVal = (patchVal as int + 1) as String
|
patchVal = (patchVal as int + 1) as String
|
||||||
postfix = '-DIRTY'
|
postfix = '-DIRTY'
|
||||||
} else if(commit as int > 0) {
|
} else if(commitVal as int > 0) {
|
||||||
patchVal = (patchVal as int + 1) as String
|
patchVal = (patchVal as int + 1) as String
|
||||||
postfix = '-SNAPSHOT'
|
postfix = '-SNAPSHOT'
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue