From b22cee2a0b785a2c2e761983479357abf86609fc Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Fri, 29 Sep 2023 23:10:37 -0400 Subject: [PATCH] inso: update livecheck --- Casks/i/inso.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Casks/i/inso.rb b/Casks/i/inso.rb index ffd9ba685d..977fafa204 100644 --- a/Casks/i/inso.rb +++ b/Casks/i/inso.rb @@ -8,8 +8,12 @@ cask "inso" do desc "CLI HTTP and GraphQL Client" homepage "https://insomnia.rest/products/inso" + # Upstream previously used a date-based version scheme (e.g., `2023.5.8`) + # before switching to a typical `8.1.0` format. The date-based versions are + # numerically higher, so we have to avoid matching them. livecheck do - regex(/lib@v?(\d{1,3}(?:\.\d+)+)(?!.)/i) + url :url + regex(/^lib@v?(\d{1,3}(?:\.\d+)+)$/i) end conflicts_with cask: "homebrew/cask-versions/inso-beta"