From 11a4ff35fcc3902de566481c623ac06fd481b611 Mon Sep 17 00:00:00 2001 From: Joseph Manley Date: Fri, 20 Nov 2020 11:39:40 -0500 Subject: [PATCH] Remove searching file for regex --- vars/runAutoSemver.groovy | 1 - 1 file changed, 1 deletion(-) diff --git a/vars/runAutoSemver.groovy b/vars/runAutoSemver.groovy index 2f8f825..726be84 100644 --- a/vars/runAutoSemver.groovy +++ b/vars/runAutoSemver.groovy @@ -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