Tag with dev if not right on release tag (#117)

This commit is contained in:
Matt
2020-09-11 14:00:57 -07:00
committed by GitHub
parent 2495d348ea
commit 90f8397688

View File

@@ -15,6 +15,8 @@ gradle.allprojects {
} catch(Exception e) {
tagIsh = "dev-Unknown"
}
boolean isDev = tagIsh.matches(".*-[0-9]*-g[0-9a-f]*")
if(isDev) tagIsh = "dev-" + tagIsh
println("Picked up version: " + tagIsh)
return tagIsh
}