Commit aaf50ec6 by Mislav Marohnić

Fix `brew-publish` script that's part of release process

[ci skip]
parent 512910a6
...@@ -16,7 +16,7 @@ fi ...@@ -16,7 +16,7 @@ fi
if [ -n "$3" ]; then if [ -n "$3" ]; then
gh_project="github.com/${3}" gh_project="github.com/${3}"
else 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}" gh_project="${gh_project%.git}"
fi fi
......
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