Move from deprecated "devel" to "head" (#109)

move from deprecated "devel" to "head"

close #106, close #107

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://gitea.com/gitea/homebrew-gitea/pulls/109
Reviewed-by: techknowlogick <techknowlogick@gitea.io>
Reviewed-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
6543 2020-08-29 15:33:00 +00:00 committed by Andrew Thornton
parent 12b1bccdd6
commit 3cc89b1550
3 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ class Changelog < Formula
sha256 `curl -s https://dl.gitea.io/changelog-tool/#{version}/changelog-#{version}-darwin-10.6-amd64.sha256`.split(" ").first
end
devel do
head do
url "https://dl.gitea.io/changelog-tool/master/changelog-master-darwin-10.6-amd64"
sha256 `curl -s https://dl.gitea.io/changelog-tool/master/changelog-master-darwin-10.6-amd64.sha256`.split(" ").first
version "master"

View File

@ -25,7 +25,7 @@ class Gitea < Formula
sha256 `curl -s #{url}.sha256`.split(" ").first
end
devel do
head do
version "master"
url Gitea.bin_url(version)
sha256 `curl -s #{url}.sha256`.split(" ").first

2
tea.rb
View File

@ -10,7 +10,7 @@ class Tea < Formula
sha256 `curl -s https://dl.gitea.io/tea/#{version}/tea-#{version}-darwin-10.6-amd64.sha256`.split(" ").first
end
devel do
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"