class Gitlab::QA::Support::GitlabVersionInfo
def previous_patch
-
(String)
-
def previous_patch return fallback_patch unless tags return previous_minor if current_patch.zero? versions.find { |version| version.to_s.match?(/^#{current_major}\.#{current_minor}\.#{current_patch - 1}/) } end