Use GitHub releases for homebrew downloads

This commit is contained in:
Jingwen Owen Ou 2013-07-26 12:47:53 -07:00
Родитель c4de7b63b9
Коммит 2b7a984b1c
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -10,10 +10,9 @@ class Gh < Formula
homepage "https://github.com/jingweno/gh"
head "https://github.com/jingweno/gh.git"
url "https://dl.dropboxusercontent.com/u/1079131/gh/#{VERSION}-snapshot/darwin_#{ARCH}/gh_#{VERSION}-snapshot_darwin_#{ARCH}.tar.gz"
url "https://github.com/jingweno/gh/releases/download/v#{VERSION}/gh_#{VERSION}-snapshot_darwin_#{ARCH}.tar.gz"
version VERSION
def install
bin.install "gh"
bash_completion.install "etc/gh.bash_completion.sh"