udunits: update stable, livecheck

Closes #94462.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Sam Ford 2022-02-03 22:10:25 -05:00 committed by BrewTestBot
parent b076398311
commit 792e98e104
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 3 additions and 3 deletions

View File

@ -1,12 +1,12 @@
class Udunits < Formula
desc "Unidata unit conversion library"
homepage "https://www.unidata.ucar.edu/software/udunits/"
url "https://artifacts.unidata.ucar.edu/repository/downloads-udunits/udunits-2.2.28.tar.gz"
url "https://artifacts.unidata.ucar.edu/repository/downloads-udunits/2.2.28/udunits-2.2.28.tar.gz"
sha256 "590baec83161a3fd62c00efa66f6113cec8a7c461e3f61a5182167e0cc5d579e"
livecheck do
url "https://artifacts.unidata.ucar.edu/service/rest/repository/browse/downloads-udunits/"
regex(%r{href=.*?/udunits[._-]v?(\d+(?:\.\d+)+)\.t}i)
url "https://artifacts.unidata.ucar.edu/service/rest/repository/browse/downloads-udunits/current/"
regex(/href=.*?udunits[._-]v?(\d+(?:\.\d+)+)\.t/i)
end
bottle do