Skip to content

Commit

Permalink
build: make commit optional
Browse files Browse the repository at this point in the history
  • Loading branch information
manticore-projects committed May 8, 2023
1 parent 4ba3dc7 commit 2c29263
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def getVersion = { boolean considerSnapshot ->
standardOutput = os
}
def versionStr = os.toString().trim()
System.out.println("Version: $versionStr")
def matcher = versionStr =~ /(\d*)\.(\d*)\.(\d*)(-(\d*)-([a-zA-Z\d]*))?/
matcher.find()

Expand Down

0 comments on commit 2c29263

Please sign in to comment.