Skip to content

Commit

Permalink
Fixed get patch version function in build
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Aug 31, 2023
1 parent 0d4ccca commit ae525f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -536,9 +536,7 @@ int getMinorVersion() {
}

int getPatchVersion() {
Integer.valueOf(
project.version.substring(project.version.lastIndexOf('.') + 1, project.version.indexOf('-'))
)
Integer.valueOf(project.version.substring(project.version.lastIndexOf('.') + 1))
}

int getBetaVersion() {
Expand Down

0 comments on commit ae525f9

Please sign in to comment.