mirror of
https://github.com/etlegacy/JoyStick.git
synced 2024-11-21 11:51:07 +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')) {
|
||||
patchVal = (patchVal as int + 1) as String
|
||||
postfix = '-DIRTY'
|
||||
} else if(commit as int > 0) {
|
||||
} else if(commitVal as int > 0) {
|
||||
patchVal = (patchVal as int + 1) as String
|
||||
postfix = '-SNAPSHOT'
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue