Fix ee_compat_check when EE branch uses a prefix
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
c946ee1282
commit
04c328f923
1 changed files with 3 additions and 2 deletions
|
@ -98,10 +98,11 @@ module Gitlab
|
|||
|
||||
if status.zero?
|
||||
@ee_branch_found = ee_branch_prefix
|
||||
else
|
||||
_, status = step("Fetching origin/#{ee_branch_suffix}", %W[git fetch origin #{ee_branch_suffix}])
|
||||
return
|
||||
end
|
||||
|
||||
_, status = step("Fetching origin/#{ee_branch_suffix}", %W[git fetch origin #{ee_branch_suffix}])
|
||||
|
||||
if status.zero?
|
||||
@ee_branch_found = ee_branch_suffix
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue