diff options
author | James Lopez <james@gitlab.com> | 2018-05-14 07:55:25 +0000 |
---|---|---|
committer | James Lopez <james@gitlab.com> | 2018-05-14 07:55:25 +0000 |
commit | a758352bb11a41d054edce766348a83b20d92f9d (patch) | |
tree | 703d3a58714aa70dfecd0c7fb0809bb7b0ce9515 /bin/secpick | |
parent | f3ddb9f4625bb088894c1021339964015f955d38 (diff) | |
download | gitlab-ce-a758352bb11a41d054edce766348a83b20d92f9d.tar.gz |
Update secpick
Diffstat (limited to 'bin/secpick')
-rwxr-xr-x | bin/secpick | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/secpick b/bin/secpick index 5caa0fb66b5..c4c7aadc92b 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 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) |