Skip to content

Commit

Permalink
tableau: update livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
samford committed May 4, 2024
1 parent 8dc22f1 commit 4674332
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Casks/t/tableau.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@

livecheck do
url "https://www.tableau.com/support/releases/desktop/latest"
regex(/[0-9]+(\.[0-9]+)+/)
strategy :header_match do |headers|
match = headers["location"]&.match(regex)
next if match.blank?

match[0].to_s
end
strategy :header_match
end

depends_on macos: ">= :mojave"
Expand Down

0 comments on commit 4674332

Please sign in to comment.