mirror of
https://gitea.com/gitea/homebrew-gitea.git
synced 2024-06-02 10:11:26 +05:30
Gitea 1.11.0 (#84)
Gitea 1.11.0 Reviewed-on: https://gitea.com/gitea/homebrew-gitea/pulls/84 Reviewed-by: Andrew Thornton <art27@cantab.net> Reviewed-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
parent
2f2160d9e2
commit
43de8c8343
6
gitea.rb
6
gitea.rb
|
@ -5,7 +5,7 @@ class Gitea < Formula
|
||||||
head "https://github.com/go-gitea/gitea.git"
|
head "https://github.com/go-gitea/gitea.git"
|
||||||
|
|
||||||
stable do
|
stable do
|
||||||
version "1.10.3"
|
version "1.11.0"
|
||||||
url "https://dl.gitea.io/gitea/#{version}/gitea-#{version}-darwin-10.6-amd64"
|
url "https://dl.gitea.io/gitea/#{version}/gitea-#{version}-darwin-10.6-amd64"
|
||||||
sha256 `curl -s https://dl.gitea.io/gitea/#{version}/gitea-#{version}-darwin-10.6-amd64.sha256`.split(" ").first
|
sha256 `curl -s https://dl.gitea.io/gitea/#{version}/gitea-#{version}-darwin-10.6-amd64.sha256`.split(" ").first
|
||||||
end
|
end
|
||||||
|
@ -35,9 +35,9 @@ class Gitea < Formula
|
||||||
|
|
||||||
ENV["GOPATH"] = buildpath
|
ENV["GOPATH"] = buildpath
|
||||||
ENV["GOHOME"] = buildpath
|
ENV["GOHOME"] = buildpath
|
||||||
ENV["TAGS"] = "bindata sqlite tidb"
|
ENV["TAGS"] = "bindata sqlite sqlite_unlock_notify"
|
||||||
|
|
||||||
system "cd src/code.gitea.io/gitea && make generate build"
|
system "cd src/code.gitea.io/gitea && make build"
|
||||||
|
|
||||||
bin.install "#{buildpath}/gitea" => "gitea"
|
bin.install "#{buildpath}/gitea" => "gitea"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue