Skip to content

Commit

Permalink
Update unison from 2.51.2 to 2.51.4,4.12.0 (#107978)
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m authored Jul 2, 2021
1 parent fb11050 commit 1414ffe
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Casks/unison.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,26 @@
url "https://github.com/bcpierce00/unison/releases/download/#{version}/Unison-OS-X-#{version}.zip",
verified: "github.com/bcpierce00/unison/"
else
version "2.51.2"
sha256 "0738a6978fa29bb2af409322069cc20df293b770877942ac4b8774f06e774aa5"
version "2.51.4,4.12.0"
sha256 "16edf291a9b697794ebb00860317ed40e91b1db8fbebc72a79d3278de6a8cb5f"

url "https://github.com/bcpierce00/unison/releases/download/v#{version}/Unison-#{version}.OS.X.zip",
url "https://github.com/bcpierce00/unison/releases/download/v#{version.before_comma}/Unison-v#{version.before_comma}.ocaml-#{version.after_comma}.macos-10.15.app.tar.gz",
verified: "github.com/bcpierce00/unison/"
end

name "Unison"
desc "File synchronizer"
homepage "https://www.cis.upenn.edu/~bcpierce/unison/"

livecheck do
url :url
strategy :github_latest do |page|
page.scan(/href=.*?Unison[._-]v?(\d+(?:\.\d+)+)[._-]ocaml[._-]v?(\d+(?:\.\d+)+)[._-]macos/i).map do |match|
"#{match[0]},#{match[1]}"
end
end
end

conflicts_with formula: "unison"

app "Unison.app"
Expand Down

0 comments on commit 1414ffe

Please sign in to comment.