summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/secpick4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/secpick b/bin/secpick
index ca9d901120d..8f956d300a7 100755
--- a/bin/secpick
+++ b/bin/secpick
@@ -10,7 +10,7 @@ using Rainbow
module Secpick
BRANCH_PREFIX = 'security'.freeze
- STABLE_PREFIX = 'stable'.freeze
+ STABLE_SUFFIX = 'stable'.freeze
DEFAULT_REMOTE = 'dev'.freeze
NEW_MR_URL = 'https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/new'.freeze
@@ -38,7 +38,7 @@ module Secpick
end
def stable_branch
- "#{STABLE_PREFIX}-#{@options[:version]}".tap do |name|
+ "#{@options[:version]}-#{STABLE_SUFFIX}".tap do |name|
name << "-ee" if ee?
end.freeze
end