diff --git a/Formula/m/martin.rb b/Formula/m/martin.rb index 0bc6ff221803..10e18b12f130 100644 --- a/Formula/m/martin.rb +++ b/Formula/m/martin.rb @@ -5,9 +5,13 @@ class Martin < Formula sha256 "d75542ee0fa7f0f60975db856de39532035f981f187a6526b61f8b52e53e212b" license any_of: ["Apache-2.0", "MIT"] + # There can be a notable gap between when a version is tagged and a + # corresponding release is created, so we check the "latest" release instead + # of the Git tags. livecheck do url :stable regex(/^martin[._-]v?(\d+(?:\.\d+)+)$/i) + strategy :github_latest end bottle do