Skip to content

Commit

Permalink
Merge pull request #75 from yugabyte/fix-brew-scripts
Browse files Browse the repository at this point in the history
Fix brew scripts for yugabytedb@2.18 and yugabytedb@2.19.
  • Loading branch information
gargsans-yb committed Mar 1, 2024
2 parents caf2a03 + 19ae46e commit b20d8e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
21 changes: 10 additions & 11 deletions Formula/yugabytedb@2.18.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
class YugabytedbAT218 < Formula
desc "High-performance distributed SQL database Yugabyte DB"
desc "High-performance distributed SQL database Yugabyte DB"
homepage "https://www.yugabyte.com/"
version "2.18.5.2"
url "https://downloads.yugabyte.com/releases/2.18.5.2/yugabyte-2.18.5.2-b1-linux-x86_64.tar.gz"
sha256 "84d34026734faa51e2d5a84c5c54e2d58f8cd44d77347af85cc6a1845e780ae0"
license "Apache-2.0"
url "https://downloads.yugabyte.com/releases/2.18.5.2/yugabyte-2.18.5.2-b1-darwin-x86_64.tar.gz"
version "2.18.5.2"
sha256 "fe8a8b07d27aa91637f38b976e91cc35d7a575d134707b3d18cc4ce12cbed6e5"
license "Apache-2.0"

keg_only :versioned_formula

depends_on "python@3.9"

def install
ENV.deparallelize
def install
ENV.deparallelize

libexec.install Dir["*"]
inreplace "#{libexec}/bin/yugabyted", "#!/usr/bin/env python", "#!/usr/bin/env python3"
Expand All @@ -22,9 +22,8 @@ def install
bin.install_symlink libexec/"postgres/bin/ysqlsh" unless File.exist?(ysqlsh_symlink)
bin.install_symlink libexec/"bin/ycqlsh" unless File.exist?(ycqlsh_symlink)
end
test do

test do
system "#{bin}/yugabyted", "version"
end
end

end
4 changes: 2 additions & 2 deletions Formula/yugabytedb@2.19.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
class YugabytedbAT219 < Formula
desc "High-performance distributed SQL database Yugabyte DB"
homepage "https://www.yugabyte.com/"
url "https://downloads.yugabyte.com/releases/2.19.3.0/yugabyte-2.19.3.0-b140-linux-x86_64.tar.gz"
url "https://downloads.yugabyte.com/releases/2.19.3.0/yugabyte-2.19.3.0-b140-darwin-x86_64.tar.gz"
version "2.19.3.0"
sha256 "77aa5bb02e118abffd7594e3aad3ae5ee06364a737cebd98fdac61a68d088d29"
sha256 "eac1257569176892d113034d5096d9b0bd75de14c94a3617c5b60f2f30b1e2c9"
license "Apache-2.0"

keg_only :versioned_formula
Expand Down

0 comments on commit b20d8e6

Please sign in to comment.