Commit 6bdc16c0 by Mislav Marohnić

Merge pull request #877 from jasonkarns/brew-publish-refspec

Explicitly specify destination refspec
parents 981a3442 c9a6cdb3
...@@ -46,7 +46,7 @@ rm -f "${formula}.bak" ...@@ -46,7 +46,7 @@ rm -f "${formula}.bak"
git commit -m "${brew_name} ${version#v}" -- "$formula" git commit -m "${brew_name} ${version#v}" -- "$formula"
# hackish way of getting the git remote name for user's fork # hackish way of getting the git remote name for user's fork
fork_remote="$(hub fork 2>&1 | grep -oE 'remote:? \S+' | tail -1 | awk '{print $2}')" fork_remote="$(hub fork 2>&1 | grep -oE 'remote:? \S+' | tail -1 | awk '{print $2}')"
git push -u "$fork_remote" "$branch" git push -u "$fork_remote" HEAD
hub pull-request -m "${brew_name} ${version#v}" hub pull-request -m "${brew_name} ${version#v}"
git checkout -q - git checkout -q -
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment