Skip to content

Commit

Permalink
Fetch github remote when adding it
Browse files Browse the repository at this point in the history
  • Loading branch information
wingrunr21 committed Nov 3, 2019
1 parent b13b9eb commit 358c8cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/update_formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
remote_url = "https://#{github_actor}:#{ENV['GITHUB_TOKEN']}@github.com/#{ENV['GITHUB_REPOSITORY']}.git"
git.config('user.name', github_actor)
git.config('user.email', "#{github_actor}@github.com")
git.add_remote('github', remote_url)
git.add_remote('github', remote_url, fetch: true)

# Update new formula
git.add('Casks/xlights.rb')
Expand Down

0 comments on commit 358c8cd

Please sign in to comment.