Skip to content

Commit

Permalink
use jar.version for develop or master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dert1129 committed Apr 24, 2024
1 parent 6825ab0 commit b0eefc5
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 @@ -72,7 +72,7 @@ def getCurrentGitBranch() {
} catch (e) {
}
if (gitBranch == "develop" || gitBranch == "master"){
return project.version
return jar.version
}else{
return gitBranch
}
Expand Down

0 comments on commit b0eefc5

Please sign in to comment.