Skip to content
代码片段 群组 项目
未验证 提交 e1ee11eb 编辑于 作者: Daniel Paul Searles's avatar Daniel Paul Searles
浏览文件

Remove ee? check from secpick script

Why:

* We no longer distinguish between ee and foss at the repo level

This change addresses the need by:

* Remove ee? method and usage
上级 8bb548e9
No related branches found
No related tags found
无相关合并请求
......@@ -21,10 +21,6 @@ module Secpick
@options = self.class.options
end
def ee?
File.exist?(File.expand_path('../ee/app/models/license.rb', __dir__))
end
def dry_run?
@options[:try] == true
end
......@@ -40,9 +36,7 @@ module Secpick
end
def stable_branch
"#{@options[:version]}-#{STABLE_SUFFIX}".tap do |name|
name << "-ee" if ee?
end.freeze
"#{@options[:version]}-#{STABLE_SUFFIX}-ee".freeze
end
def git_commands
......@@ -64,11 +58,7 @@ module Secpick
end
def new_mr_url
if ee?
SECURITY_MR_URL
else
SECURITY_MR_URL.sub('/gitlab/', '/gitlab-foss/')
end
SECURITY_MR_URL
end
def create!
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册