Remove searching file for regex

This commit is contained in:
Layla 2020-11-20 11:39:40 -05:00
parent eaebfcc329
commit 11a4ff35fc

View File

@ -40,7 +40,6 @@ def call(dockerImage = "rightbrainnetworks/auto-semver:latest", debug = false) {
break
}
env.SEMVER_NEW_VERSION = sh(script: "grep -Po '${regex}' .bumpversion.cfg", returnStdout: true).trim()
env.SEMVER_RESOLVED_VERSION = getVersion("-d ${args}")
env.VERSION = env.SEMVER_RESOLVED_VERSION