From 4032aed1b735eb0e67c58df87fae7b2efa3a0ad5 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Mon, 20 Nov 2023 17:05:51 -0500 Subject: [PATCH] vagrant: update livecheck --- Casks/v/vagrant.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Casks/v/vagrant.rb b/Casks/v/vagrant.rb index 8534bcce67..b03c0a49aa 100644 --- a/Casks/v/vagrant.rb +++ b/Casks/v/vagrant.rb @@ -12,8 +12,8 @@ cask "vagrant" do homepage "https://www.vagrantup.com/" livecheck do - url "https://github.com/hashicorp/vagrant" - strategy :github_latest + url "https://developer.hashicorp.com/vagrant/install" + regex(/href=[^ >]*?vagrant[._-]v?(\d+(?:\.\d+)+)(?:[._-]darwin)?(?:[._-]#{arch})?\.dmg/i) end pkg "vagrant.pkg"