mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
stoplight-studio 2.10.0,9584.git-ab7ee89
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
cask "stoplight-studio" do
|
||||
arch arm: "mac-arm64", intel: "mac"
|
||||
arch arm: "arm64", intel: "x64"
|
||||
|
||||
version "2.10.0,8870.git-32fa2af"
|
||||
sha256 arm: "b2759c56a14c82da2f4624f323208e6689cb511153eb4e1be5cc3e6ad7d60566",
|
||||
intel: "a89a3b8c76571c19314198ede0616657d71b75db09aa690f1374bb0050273f6a"
|
||||
version "2.10.0,9584.git-ab7ee89"
|
||||
sha256 arm: "75fccf1fb117da01607a0c210fa6d70d96e8e5faaeb04c4d20f3d8287e6ef087",
|
||||
intel: "f176dc945d8797af4a2b145c84a195cd068f2b3fa96560c1712d819d95f6dea9"
|
||||
|
||||
url "https://github.com/stoplightio/studio/releases/download/v#{version.csv.first}-stable.#{version.csv.second}/stoplight-studio-#{arch}.dmg",
|
||||
url "https://github.com/stoplightio/studio/releases/download/v#{version.csv.first}-stable.#{version.csv.second}/stoplight-studio-mac-#{arch}.dmg",
|
||||
verified: "github.com/stoplightio/studio/"
|
||||
name "Stoplight Studio"
|
||||
desc "Editor for designing and documenting APIs"
|
||||
@@ -13,7 +13,7 @@ cask "stoplight-studio" do
|
||||
|
||||
livecheck do
|
||||
url :url
|
||||
regex(%r{/v?(\d+(?:\.\d+)+)[._-]stable[._-]([^/]+)/stoplight[._-]studio[._-]#{arch}\.dmg$}i)
|
||||
regex(%r{/v?(\d+(?:\.\d+)+)[._-]stable[._-]([^/]+)/stoplight[._-]studio[._-]mac[._-]#{arch}\.dmg$}i)
|
||||
strategy :github_latest do |json, regex|
|
||||
json["assets"]&.map do |asset|
|
||||
match = asset["browser_download_url"]&.match(regex)
|
||||
|
||||
Reference in New Issue
Block a user