Update Path & Version (#115)

Update Path & Version

Reviewed-on: https://gitea.com/gitea/homebrew-gitea/pulls/115
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Reviewed-by: khmarbaise <khmarbaise@noreply.gitea.io>
Co-Authored-By: 6543 <6543@obermui.de>
Co-Committed-By: 6543 <6543@obermui.de>
This commit is contained in:
6543 2020-12-15 10:47:09 +08:00 committed by Lunny Xiao
parent 95931bcc2c
commit bd2a604fc7
1 changed files with 6 additions and 6 deletions

12
tea.rb
View File

@ -5,15 +5,15 @@ class Tea < Formula
head "https://gitea.com/gitea/tea.git"
stable do
version "0.5.0"
url "https://dl.gitea.io/tea/#{version}/tea-#{version}-darwin-10.6-amd64"
sha256 `curl -s https://dl.gitea.io/tea/#{version}/tea-#{version}-darwin-10.6-amd64.sha256`.split(" ").first
version "0.6.0"
url "https://dl.gitea.io/tea/#{version}/tea-#{version}-darwin-amd64"
sha256 `curl -s https://dl.gitea.io/tea/#{version}/tea-#{version}-darwin-amd64.sha256`.split(" ").first
end
head do
url "https://dl.gitea.io/tea/master/tea-master-darwin-10.6-amd64"
sha256 `curl -s https://dl.gitea.io/tea/master/tea-master-darwin-10.6-amd64.sha256`.split(" ").first
version "master"
url "https://dl.gitea.io/tea/master/tea-master-darwin-amd64"
sha256 `curl -s https://dl.gitea.io/tea/master/tea-master-darwin-amd64.sha256`.split(" ").first
end
head do
@ -40,7 +40,7 @@ class Tea < Formula
bin.install "#{buildpath}/tea" => "tea"
else
bin.install "#{buildpath}/tea-#{version}-darwin-10.6-amd64" => "tea"
bin.install "#{buildpath}/tea-#{version}-darwin-amd64" => "tea"
end
end
end