Fix checkout

This commit is contained in:
Jim Nicholson 2024-02-01 14:49:08 -08:00
parent f885ca2978
commit b01e1d5fbc

View File

@ -6,8 +6,7 @@ String call(Map config = [:]) {
]
Map runConfig = defaults + config
checkout scmGit(extensions: [submodule(recursiveSubmodules: true, reference: ''),
cloneOption(noTags: false, reference: '', shallow: false)])
checkout scm
gitTag = sh(
script: "git describe --tags --always --dirty=${runConfig.dirtyFlag}",