Skip to content

Commit

Permalink
build: fix homebrew script
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Dec 20, 2017
1 parent 6cf914e commit 1e989db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/homebrew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if [[ -z "$v" ]] ; then
echo "Usage: $0 <version> (e.g. 1.0.4)"
exit 1
fi
v=${v/v/}

srcurl=https://github.com/fabiolb/fabio/archive/v${v}.tar.gz
shasum=$(wget -O- -q "$srcurl" | shasum -a 256 | awk '{ print $1; }')
Expand All @@ -30,7 +31,7 @@ brew update
git push --set-upstream magiconair fabio-$v
)

echo "Goto https://github.com/Homebrew/homebrew-core to create pull request"
open https://github.com/Homebrew/homebrew-core
echo "Goto https://github.com/magiconair/homebrew-core to create pull request"
open https://github.com/magiconair/homebrew-core

exit 0
Expand Down

0 comments on commit 1e989db

Please sign in to comment.