fix build script if not git cloned

This commit is contained in:
mcrcortex
2024-11-17 22:06:18 +10:00
parent 5979b17891
commit c0be96e797

View File

@@ -28,6 +28,7 @@ def gitCommitHash = { ->
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
standardOutput = stdout
ignoreExitValue = true
}
return stdout.toString().trim()
}