lib/cicd/builder/manifest/mixlib/build.rb in manifest-builder-0.5.11 vs lib/cicd/builder/manifest/mixlib/build.rb in manifest-builder-0.5.12

- old
+ new

@@ -74,9 +74,10 @@ # --------------------------------------------------------------------------------------------------------------- def getVersionBuildFromName(artifact) version = artifact.dup version.gsub!(EXT_RGX, '') version.gsub!(%r'^[a-zA-Z\-._]+', '') + version.gsub!(%r'\.\.+', '.') build = '' if version.match(VER_RGX) if version.match(%r'\-') version,build = version.split(/-/) end