lib/circleci/bundle/update/pr.rb in circleci-bundle-update-pr-1.14.0 vs lib/circleci/bundle/update/pr.rb in circleci-bundle-update-pr-1.14.1
- old
+ new
@@ -86,10 +86,10 @@
# @return [String] remote branch name. e.g. bundle-update-20180929154455
def self.create_branch(git_username, git_email)
branch = "#{BRANCH_PREFIX}#{now.strftime('%Y%m%d%H%M%S')}"
remote = "https://#{github_access_token}@#{github_host}/#{repo_full_name}"
system("git remote add github-url-with-token #{remote}")
- system("git config user.name #{git_username}")
+ system("git config user.name '#{git_username}'")
system("git config user.email #{git_email}")
system("git add Gemfile.lock")
system("git commit -m '$ bundle update && bundle update --ruby'")
system("git branch -M #{branch}")
system("git push -q github-url-with-token #{branch}")