Avoid double get_version

This commit is contained in:
Layla 2019-12-20 15:12:39 -05:00
parent a8053afa93
commit 63e8c3a348

View File

@ -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
}
}