From bd2a604fc74d63ba4b869c7529f700f722a1a28b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 15 Dec 2020 10:47:09 +0800 Subject: [PATCH] Update Path & Version (#115) Update Path & Version Reviewed-on: https://gitea.com/gitea/homebrew-gitea/pulls/115 Reviewed-by: Lunny Xiao Reviewed-by: khmarbaise Co-Authored-By: 6543 <6543@obermui.de> Co-Committed-By: 6543 <6543@obermui.de> --- tea.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tea.rb b/tea.rb index d4c45a6..7b32a22 100644 --- a/tea.rb +++ b/tea.rb @@ -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