From 02e7962ad410762b9b3ab5172f442ef35e91b1c1 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Mon, 14 May 2018 07:57:53 +0000 Subject: Update secpick --- bin/secpick | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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) -- cgit v1.2.1