Update anka-build-cloud-controller-and-registry.rb

This commit is contained in:
Bevan Kay
2023-08-30 09:11:57 +10:00
committed by GitHub
parent 3e6e4e75d8
commit 16a88c2332
@@ -11,8 +11,8 @@ cask "anka-build-cloud-controller-and-registry" do
homepage "https://veertu.com/"
livecheck do
url "https://veertu.com/downloads/anka-build-cloud-controller-registry-darwin-amd64-latest"
regex(/AnkaControllerRegistryAmd64[._-]?v?(\d+(?:\.\d+)*[._-]\h+)\.pkg/i)
url "https://veertu.com/downloads/anka-build-cloud-controller-registry-darwin-#{arch.downcase}-latest"
regex(/AnkaControllerRegistry#{arch}[._-]?v?(\d+(?:\.\d+)*[._-]\h+)\.pkg/i)
strategy :header_match
end