mirror of
https://github.com/GTNewHorizons/ThaumicBases.git
synced 2026-11-14 01:14:16 +00:00
Update build.gradle
This commit is contained in:
1 parent
a0b33a2172
commit
08203c8222
1 file changed
+1
@@ -362,6 +362,7 @@ try {
|
||||
// Produce a version based on the tag, or for branches something like 0.2.2-configurable-maven-and-extras.38+43090270b6-dirty
|
||||
if (versionOverride == null) {
|
||||
def gitDetails = versionDetails()
|
||||
project.logger.error("gitDetails: {}", gitDetails)
|
||||
def isDirty = gitVersion().endsWith(".dirty") // No public API for this, isCleanTag has a different meaning
|
||||
String branchName = gitDetails.branchName
|
||||
branchName = branchName.replaceAll("[^a-zA-Z0-9-]+", "-") // sanitize branch names for semver
|
||||
|
||||
Reference in new issue
Block a user