Merge pull request #4623 from commitay/github-latest
cask audit: GitHub `latest` casks shouldn't have an appcast
This commit is contained in:
commit
a985f0a5d0
@ -213,6 +213,7 @@ module Hbc
|
||||
|
||||
case cask.url.to_s
|
||||
when %r{github.com/([^/]+)/([^/]+)/releases/download/(\S+)}
|
||||
return if cask.version.latest?
|
||||
add_warning "Download uses GitHub releases, #{add_appcast}"
|
||||
when %r{sourceforge.net/(\S+)}
|
||||
return if cask.version.latest?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user