Skip to content
This repository was archived by the owner on Jul 13, 2019. It is now read-only.

Commit beaa3a0

Browse files
authored
Deduplicate code and Update 1.2.2 (#24)
1 parent 10b305d commit beaa3a0

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

gitea.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Gitea < Formula
55
head "https://github.com/go-gitea/gitea.git"
66

77
stable do
8-
version "1.2.1"
8+
version "1.2.2"
99
url "https://dl.gitea.io/gitea/#{version}/gitea-#{version}-darwin-10.6-amd64"
1010
sha256 `curl -s https://dl.gitea.io/gitea/#{version}/gitea-#{version}-darwin-10.6-amd64.sha256`.split(" ").first
1111
end
@@ -40,8 +40,6 @@ def install
4040
system "cd src/code.gitea.io/gitea && make generate build"
4141

4242
bin.install "#{buildpath}/gitea" => "gitea"
43-
when build.devel?
44-
bin.install "#{buildpath}/gitea-master-darwin-10.6-amd64" => "gitea"
4543
else
4644
bin.install "#{buildpath}/gitea-#{version}-darwin-10.6-amd64" => "gitea"
4745
end

lgtm.rb

-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ def install
4040
system "cd src/github.com/go-gitea/lgtm && make build"
4141

4242
bin.install "#{buildpath}/lgtm" => "lgtm"
43-
when build.devel?
44-
bin.install "#{buildpath}/lgtm-master-darwin-10.6-amd64" => "lgtm"
4543
else
4644
bin.install "#{buildpath}/lgtm-#{version}-darwin-10.6-amd64" => "lgtm"
4745
end

0 commit comments

Comments
 (0)