Try to fetch the CE branch in EE because sometimes it has the same name
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
7736b51812
commit
9471c3f673
|
@ -138,8 +138,8 @@ module Gitlab
|
|||
|
||||
def ee_branch_presence_check!
|
||||
ee_remotes.keys.each do |remote|
|
||||
[ee_branch_prefix, ee_branch_suffix].each do |branch|
|
||||
_, status = step("Fetching #{remote}/#{ee_branch_prefix}", %W[git fetch #{remote} #{branch}])
|
||||
[ce_branch, ee_branch_prefix, ee_branch_suffix].each do |branch|
|
||||
_, status = step("Fetching #{remote}/#{branch}", %W[git fetch #{remote} #{branch}])
|
||||
|
||||
if status.zero?
|
||||
@ee_remote_with_branch = remote
|
||||
|
|
Loading…
Reference in New Issue