lib/circleci/bundle/update/pr.rb in circleci-bundle-update-pr-1.0.7 vs lib/circleci/bundle/update/pr.rb in circleci-bundle-update-pr-1.0.8
- old
+ new
@@ -11,10 +11,10 @@
raise "$CIRCLE_PROJECT_REPONAME isn't set" unless ENV['CIRCLE_PROJECT_REPONAME']
raise "$GITHUB_ACCESS_TOKEN isn't set" unless ENV['GITHUB_ACCESS_TOKEN']
return unless need?
repo_full_name = "#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV['CIRCLE_PROJECT_REPONAME']}"
now = Time.now
- branch = "bundle-update-#{now.strftime('%Y%m%d')}"
+ branch = "bundle-update-#{now.strftime('%Y%m%d%H%M%S')}"
create_branch(git_username, git_email, branch)
pull_request = create_pull_request(repo_full_name, branch, now)
add_comment_of_compare_linker(repo_full_name, pull_request[:number])
end