diff --git a/vars/runAutoSemver.groovy b/vars/runAutoSemver.groovy index 45618ab..43d364f 100644 --- a/vars/runAutoSemver.groovy +++ b/vars/runAutoSemver.groovy @@ -38,7 +38,7 @@ def call(dockerImage = "rightbrainnetworks/auto-semver:latest") { env.SEMVER_NEW_VERSION = sh(script: "grep -Po '${regex}' .bumpversion.cfg", returnStdout: true).trim() env.SEMVER_RESOLVED_VERSION = getVersion('-d') - env.VERSION = getVersion('-d') + env.VERSION = env.SEMVER_RESOLVED_VERSION } } \ No newline at end of file