deep checkout so we actually get tag names in CI

This commit is contained in:
Wagyourtail
2022-06-03 14:46:39 -06:00
parent f699be7973
commit 2b4da2a46c
2 changed files with 5 additions and 1 deletions

View File

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