Skip to content

Commit

Permalink
Adjust strip pattern to allow optional third digit
Browse files Browse the repository at this point in the history
This now covers a version of "1.21".
  • Loading branch information
sciwhiz12 committed Jul 19, 2024
1 parent 7d85e7f commit ab4fe2b
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 @@ -7,7 +7,7 @@ plugins {
}

versions {
stripPattern = /^\d+\.\d+\.[\dx]+-/
stripPattern = /^\d+\.\d+(?:\.[\dx]+)?-/
}
version = versions.version
println "Mod version: $version"
Expand Down

0 comments on commit ab4fe2b

Please sign in to comment.