mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-09-05 08:41:17 +02:00
Merge pull request #877 from jasonkarns/brew-publish-refspec
Explicitly specify destination refspec
This commit is contained in:
commit
6bdc16c0c4
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ rm -f "${formula}.bak"
|
|||
git commit -m "${brew_name} ${version#v}" -- "$formula"
|
||||
# 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}')"
|
||||
git push -u "$fork_remote" "$branch"
|
||||
git push -u "$fork_remote" HEAD
|
||||
hub pull-request -m "${brew_name} ${version#v}"
|
||||
|
||||
git checkout -q -
|
||||
|
|
Loading…
Reference in a new issue