mirror of
https://gitea.com/gitea/homebrew-gitea.git
synced 2024-06-02 18:21:26 +05:30
Fix bin.install
filenames for stable and devel
Signed-off-by: Rob Prentiss <rob@prentiss.name>
This commit is contained in:
parent
5d204cd8dc
commit
ae04bd1e02
4
gitea.rb
4
gitea.rb
|
@ -41,8 +41,10 @@ class Gitea < Formula
|
||||||
system("make", "build")
|
system("make", "build")
|
||||||
|
|
||||||
bin.install "#{buildpath}/bin/gitea" => "gitea"
|
bin.install "#{buildpath}/bin/gitea" => "gitea"
|
||||||
else
|
elsif build.devel?
|
||||||
bin.install "#{buildpath}/gitea-master-darwin-10.6-amd64" => "gitea"
|
bin.install "#{buildpath}/gitea-master-darwin-10.6-amd64" => "gitea"
|
||||||
|
else
|
||||||
|
bin.install "#{buildpath}/gitea-1.0.0-darwin-10.6-amd64" => "gitea"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue