Dovecot: upgrade to 2.4.1? #6239
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Homebrew already has a mechanism to automatically detect the latest version called "livecheck" . Usually it works automatically (f.e. if a project is hosted on GitHub Homebrew already knows we just need to find the latest tag/release) but it may be a bit tricky to parse correct version on third-party website. The current version of the formula defines the following regex for version: livecheck do
url "https://www.dovecot.org/download/"
regex(/href=.*?dovecot[._-]v?(\d+(?:\.\d+)+)\.t/i)
end It cannot match https://dovecot.org/releases/2.4/dovecot-2.4.1-4.tar.gz (because of this I created a PR that should fix the regex and update the package: #227937 |
Beta Was this translation helpful? Give feedback.
Homebrew already has a mechanism to automatically detect the latest version called "livecheck" . Usually it works automatically (f.e. if a project is hosted on GitHub Homebrew already knows we just need to find the latest tag/release) but it may be a bit tricky to parse correct version on third-party website. The current version of the formula defines the following regex for version:
It cannot match https://dovecot.org/releases/2.4/dovecot-2.4.1-4.tar.gz (because of this
-4
part) and therefore thinks 2.3.16 is the latest version (because there's no2.4.0
link on the page).I cre…