Update secpick
This commit is contained in:
parent
a758352bb1
commit
02e7962ad4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue