Commit e1ee11eb authored by 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
parent 8bb548e9
......@@ -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
end
def create!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment