Skip to content

Commit

Permalink
release: advance to v24.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cockroach-teamcity committed Jun 3, 2024
1 parent 80d2b06 commit 25cc6a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
13 changes: 7 additions & 6 deletions Formula/cockroach-sql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@
class CockroachSql < Formula
desc "Distributed SQL database shell"
homepage "https://www.cockroachlabs.com"
version "23.2.5"
version "24.1.0"
on_macos do
on_intel do
url "https://binaries.cockroachdb.com/cockroach-sql-v23.2.5.darwin-10.9-amd64.tgz"
sha256 "b493a842ee5d62f76e2a2865a2c194b5788c26b9feb8583a5066ae55a083d3a4"
url "https://binaries.cockroachdb.com/cockroach-sql-v24.1.0.darwin-10.9-amd64.tgz"
sha256 "d4cc8daaf5fa02c70caf42b06f0ab9eb2c0e16b98f0073f624cf8cccb361c75a"
end
on_arm do
url "https://binaries.cockroachdb.com/cockroach-sql-v23.2.5.darwin-11.0-arm64.tgz"
sha256 "e63a28b3f4dbd33b882fbc8f3f49e1b9768d7ce5939e2da4c6036941040f8f37"
url "https://binaries.cockroachdb.com/cockroach-sql-v24.1.0.darwin-11.0-arm64.tgz"
sha256 "7e83ad959c7a5c5e22649fddde47a8cd3de086d5fa1ca17d0ff3141fa359eab3"
end
end

def install
bin.install "cockroach-sql"
prefix.install "LICENSE.txt", "THIRD-PARTY-NOTICES.txt"
end

test do
output = shell_output("#{bin}/cockroach-sql --version", 0)
assert_match "23.2.5", output
assert_match "24.1.0", output
end

end
Expand Down
11 changes: 6 additions & 5 deletions Formula/cockroach.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@
class Cockroach < Formula
desc "Distributed SQL database"
homepage "https://www.cockroachlabs.com"
version "23.2.5"
version "24.1.0"
on_macos do
on_intel do
url "https://binaries.cockroachdb.com/cockroach-v23.2.5.darwin-10.9-amd64.tgz"
sha256 "df4126568c3bded296d61e4fba5ee14f0ac3029dff25ba82d55c5580d04f5408"
url "https://binaries.cockroachdb.com/cockroach-v24.1.0.darwin-10.9-amd64.tgz"
sha256 "303f3513bdcfdfd05a16ae4954ebf2df5cf97daebcbb5d1cc1fa5f559023d73c"
end
on_arm do
url "https://binaries.cockroachdb.com/cockroach-v23.2.5.darwin-11.0-arm64.tgz"
sha256 "1f213ef13a565bf0e4f5cab0b957fcb34584c4561a46f1af014bd4dc2d8449c1"
url "https://binaries.cockroachdb.com/cockroach-v24.1.0.darwin-11.0-arm64.tgz"
sha256 "6303f36fdf5b0c55699882d336e76e6ced13d0dc8d892421d1f62200f17f8f48"
end
end

def install
bin.install "cockroach"
prefix.install "LICENSE.txt", "THIRD-PARTY-NOTICES.txt"
on_intel do
lib.mkpath
mkdir "#{lib}/cockroach"
Expand Down

0 comments on commit 25cc6a1

Please sign in to comment.