Skip to content

Commit

Permalink
Merge pull request #177345 from khipp/bump-cinc-workstation-24.6.1066
Browse files Browse the repository at this point in the history
cinc-workstation 24.6.1066
  • Loading branch information
chenrui333 authored Jun 20, 2024
2 parents 04b1846 + 1614c88 commit d76dec6
Showing 1 changed file with 37 additions and 10 deletions.
47 changes: 37 additions & 10 deletions Casks/c/cinc-workstation.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,48 @@
cask "cinc-workstation" do
arch arm: "arm64", intel: "x86_64"

version "24.4.1064"
sha256 arm: "4365418ae6f2387cc925fede5245bb40e8c7432629728a546bed625efe2f20bb",
intel: "85752c80079b9a9d2038bbdaba30b764f8dd2dfb23f62652e68592e9dea917ce"
on_big_sur do
version "24.4.1064"
sha256 arm: "4365418ae6f2387cc925fede5245bb40e8c7432629728a546bed625efe2f20bb",
intel: "85752c80079b9a9d2038bbdaba30b764f8dd2dfb23f62652e68592e9dea917ce"

url "https://downloads.cinc.sh/files/stable/cinc-workstation/#{version}/mac_os_x/11/cinc-workstation-#{version}-1.#{arch}.dmg"

livecheck do
url "https://omnitruck.cinc.sh/stable/cinc-workstation/metadata?p=mac_os_x&pv=11&m=#{arch}&v=latest"
regex(/version\s*(\d+(?:\.\d+)+)/i)
end
end
on_monterey do
version "24.6.1066"
sha256 arm: "922e96d0de1c9e15ac254e5b927d80283dc40be5b071f62df669f96bb74e456f",
intel: "560e08048d10b78d02ec44a6e478a8c0acf082df274f644394211d6a47519974"

url "https://downloads.cinc.sh/files/stable/cinc-workstation/#{version}/mac_os_x/12/cinc-workstation-#{version}-1.#{arch}.dmg"

livecheck do
url "https://omnitruck.cinc.sh/stable/cinc-workstation/metadata?p=mac_os_x&pv=12&m=#{arch}&v=latest"
regex(/version\s*(\d+(?:\.\d+)+)/i)
end
end
on_ventura :or_newer do
version "24.6.1066"
sha256 arm: "d5825eefa0f7eb2dc8df253e219035e87f9d761b23aa108428b61e75cc641747",
intel: "1a1f8d2465c872d8462e5322165c7fa49c5ff48776ad48bffd94bb9869a21088"

url "https://downloads.cinc.sh/files/stable/cinc-workstation/#{version}/mac_os_x/13/cinc-workstation-#{version}-1.#{arch}.dmg"

livecheck do
url "https://omnitruck.cinc.sh/stable/cinc-workstation/metadata?p=mac_os_x&pv=13&m=#{arch}&v=latest"
regex(/version\s*(\d+(?:\.\d+)+)/i)
end
end

url "https://downloads.cinc.sh/files/stable/cinc-workstation/#{version}/mac_os_x/11/cinc-workstation-#{version}-1.#{arch}.dmg"
name "Cinc Workstation"
desc "Installer for Chef infrastructure management tools"
homepage "https://cinc.sh/start/workstation/"

livecheck do
url "https://omnitruck.cinc.sh/stable/cinc-workstation/metadata?p=mac_os_x&pv=11&m=#{arch}&v=latest"
regex(/version\s*(\d+(?:\.\d+)+)/i)
end

depends_on macos: ">= :mojave"
depends_on macos: ">= :big_sur"

pkg "cinc-workstation-#{version}-1.#{arch}.pkg"

Expand Down

0 comments on commit d76dec6

Please sign in to comment.