mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-10-25 15:20:38 +02:00
Fix brew-publish script that's part of release process
[ci skip]
This commit is contained in:
parent
512910a675
commit
aaf50ec655
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue