diff --git a/Casks/pitch.rb b/Casks/pitch.rb index 5639eeeb41..d8aeb25c17 100644 --- a/Casks/pitch.rb +++ b/Casks/pitch.rb @@ -1,17 +1,17 @@ cask "pitch" do - version "1.73.0,3651924" - sha256 "a72ab96f429a518282242af9dd8ea80d754d0a12968dc14a4151e07ac1758bcf" + version "1.79.1,stable.3,4103985" + sha256 "0ea9eb4cf0c9e60a14278c54a6d61f77622a122aa2abfd18df16e9ebfd568e74" - url "https://desktop-app-builds.pitch.com/Pitch-#{version.csv.first}-ci#{version.csv.second}.dmg" + url "https://desktop-app-builds.pitch.com/Pitch-#{version.csv.first}-#{version.csv.second}-ci#{version.csv.third}.dmg" name "Pitch" desc "Collaborative presentation software" homepage "https://pitch.com/" livecheck do url "https://desktop-app-builds.pitch.com/latest-mac.yml" - regex(/Pitch[._-]v?(\d+(?:\.\d+)+).*?[._-]ci(\d+)\.dmg/i) + regex(/Pitch[._-]v?(\d+(?:\.\d+)+)-([^-]+)-ci(\d+)\.dmg/i) strategy :page_match do |page, regex| - page.scan(regex).map { |match| "#{match[0]},#{match[1]}" } + page.scan(regex).map { |match| "#{match.first},#{match.second},#{match.third}" } end end