-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from yugabyte/sgarg/update-brew
Updating latest version to 2024.1.
- Loading branch information
Showing
4 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
class Yugabytedb < Formula | ||
desc "High-performance distributed SQL database Yugabyte DB" | ||
homepage "https://www.yugabyte.com/" | ||
url "https://downloads.yugabyte.com/releases/2.21.0.1/yugabyte-2.21.0.1-b1-darwin-x86_64.tar.gz" | ||
version "2.21.0.1" | ||
sha256 "08d4e5c3e7961a61f8858f172a7aec493183fbe483cd3d2efbc6b2b15e40b673" | ||
url "https://downloads.yugabyte.com/releases/2024.1.0.0/yugabyte-2024.1.0.0-b129-darwin-x86_64.tar.gz" | ||
version "2024.1.0.0" | ||
sha256 "986ce002f94c74ef1e67e68ae3ef0e9c01bc49a4091730ad541b046800ec18c0" | ||
license "Apache-2.0" | ||
|
||
depends_on "[email protected]" | ||
|
@@ -12,7 +12,6 @@ def install | |
ENV.deparallelize | ||
|
||
libexec.install Dir["*"] | ||
inreplace "#{libexec}/bin/yugabyted", "#!/usr/bin/env python", "#!/usr/bin/env python3" | ||
|
||
bin.install_symlink libexec/"bin/yugabyted" | ||
ysqlsh_symlink = "#{HOMEBREW_PREFIX}/bin/ysqlsh" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
class YugabytedbAT221 < Formula | ||
desc "High-performance distributed SQL database Yugabyte DB" | ||
homepage "https://www.yugabyte.com/" | ||
url "https://downloads.yugabyte.com/releases/2.21.0.1/yugabyte-2.21.0.1-b1-darwin-x86_64.tar.gz" | ||
version "2.21.0.1" | ||
sha256 "08d4e5c3e7961a61f8858f172a7aec493183fbe483cd3d2efbc6b2b15e40b673" | ||
license "Apache-2.0" | ||
|
||
keg_only :versioned_formula | ||
depends_on "[email protected]" | ||
|
||
def install | ||
ENV.deparallelize | ||
|
||
libexec.install Dir["*"] | ||
inreplace "#{libexec}/bin/yugabyted", "#!/usr/bin/env python", "#!/usr/bin/env python3" | ||
|
||
bin.install_symlink libexec/"bin/yugabyted" | ||
ysqlsh_symlink = "#{HOMEBREW_PREFIX}/bin/ysqlsh" | ||
ycqlsh_symlink = "#{HOMEBREW_PREFIX}/bin/ycqlsh" | ||
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 | ||
system "#{bin}/yugabyted", "version" | ||
end | ||
end |