Skip to content

Commit

Permalink
Merge pull request #192118 from Homebrew/tableau-use-livecheck-reference
Browse files Browse the repository at this point in the history
  • Loading branch information
khipp authored Nov 15, 2024
2 parents 9757f77 + 07227ea commit 05b7f8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
5 changes: 1 addition & 4 deletions Casks/t/tableau-prep.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
homepage "https://www.tableau.com/support/releases/prep"

livecheck do
url "https://downloads.tableau.com/TableauAutoUpdate.xml"
strategy :xml do |xml|
xml.get_elements("//version").map { |item| item.attributes["releaseNotesVersion"] }
end
cask "tableau"
end

depends_on macos: ">= :el_capitan"
Expand Down
5 changes: 1 addition & 4 deletions Casks/t/tableau-public.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
homepage "https://public.tableau.com/s/"

livecheck do
url "https://downloads.tableau.com/TableauAutoUpdate.xml"
strategy :xml do |xml|
xml.get_elements("//version").map { |item| item.attributes["releaseNotesVersion"] }
end
cask "tableau"
end

pkg "TableauPublic-#{version.dots_to_hyphens}#{arch}.pkg"
Expand Down
5 changes: 1 addition & 4 deletions Casks/t/tableau-reader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
homepage "https://www.tableau.com/products/reader"

livecheck do
url "https://downloads.tableau.com/TableauAutoUpdate.xml"
strategy :xml do |xml|
xml.get_elements("//version").map { |item| item.attributes["releaseNotesVersion"] }
end
cask "tableau"
end

pkg "TableauReader-#{version.dots_to_hyphens}#{arch}.pkg"
Expand Down

0 comments on commit 05b7f8f

Please sign in to comment.