summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJames Lopez <james@gitlab.com>2018-05-14 07:57:53 +0000
committerJames Lopez <james@gitlab.com>2018-05-14 07:57:53 +0000
commit02e7962ad410762b9b3ab5172f442ef35e91b1c1 (patch)
tree86f4ea14531002a77d55de31c7ec0dbb8cf3072a /bin
parenta758352bb11a41d054edce766348a83b20d92f9d (diff)
downloadgitlab-ce-02e7962ad410762b9b3ab5172f442ef35e91b1c1.tar.gz
Update secpick
Diffstat (limited to 'bin')
-rwxr-xr-xbin/secpick2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/secpick b/bin/secpick
index c4c7aadc92b..5029fe57cfe 100755
--- a/bin/secpick
+++ b/bin/secpick
@@ -38,7 +38,7 @@ abort("Wrong version format #{options[:version].bold}".red) unless options[:vers
branch = [BRANCH_PREFIX, options[:branch], options[:version]].join('-').freeze
stable_branch = "#{BRANCH_PREFIX}-#{options[:version]}".freeze
-command = ""git fetch #{REMOTE} #{stable_branch} && git checkout #{stable_branch} && git pull #{REMOTE} #{stable_branch} && git checkout -B #{branch} && git cherry-pick #{options[:sha]} && git push #{REMOTE} #{branch}"
+command = "git fetch #{REMOTE} #{stable_branch} && git checkout #{stable_branch} && git pull #{REMOTE} #{stable_branch} && git checkout -B #{branch} && git cherry-pick #{options[:sha]} && git push #{REMOTE} #{branch}"
_stdin, stdout, stderr = Open3.popen3(command)