Loading script/brew-publish +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ fi if [ -n "$3" ]; then gh_project="github.com/${3}" else gh_project="$(git remote -v | grep '^origin' | grep -oE 'github.com[:/][^/]+/[^/ ]+')" gh_project="$(git remote -v | grep '^origin' | grep -oE 'github.com[:/][^/]+/[^/ ]+' | head -1)" gh_project="${gh_project%.git}" fi Loading Loading
script/brew-publish +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ fi if [ -n "$3" ]; then gh_project="github.com/${3}" else gh_project="$(git remote -v | grep '^origin' | grep -oE 'github.com[:/][^/]+/[^/ ]+')" gh_project="$(git remote -v | grep '^origin' | grep -oE 'github.com[:/][^/]+/[^/ ]+' | head -1)" gh_project="${gh_project%.git}" fi Loading