Skip to content

Commit

Permalink
gradle: version parsing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jackeri committed Jan 24, 2024
1 parent 2541d84 commit ef6e142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ef6e142

Please sign in to comment.