so umm, it's not using right version number in CI...

This commit is contained in:
Wagyourtail
2022-06-03 14:42:23 -06:00
parent ed381d6b33
commit f699be7973
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,8 @@ group 'baritone'
def vers = 'git describe --always --tags --dirty'.execute().text.trim();
if (!vers.startsWith("v")) {
version project.mod_version;
println "git doesn't appear to be installed!"
version project.mod_version
} else {
version vers.substring(1)
}