Skip to content

Commit

Permalink
Update the version to 2.21.0.0 (#80)
Browse files Browse the repository at this point in the history
Co-authored-by: YugaByte CI <[email protected]>
  • Loading branch information
gargsans-yb and yugabyte-ci authored Mar 28, 2024
1 parent 7a04f79 commit cbdf900
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions Formula/yugabytedb.rb
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.20.2.0/yugabyte-2.20.2.0-b145-darwin-x86_64.tar.gz"
version "2.20.2.0"
sha256 "f8d9c8bb8ae6e5b90de0f8b40930d7d831c062ba9dc34b56bb0234064bd765a7"
url "https://downloads.yugabyte.com/releases/2.21.0.0/yugabyte-2.21.0.0-b545-darwin-x86_64.tar.gz"
version "2.21.0.0"
sha256 "1d51814d0fe458c205fd543084563fca868db028f0ae271be312356c9084ca2b"
license "Apache-2.0"

depends_on "[email protected]"
Expand Down
29 changes: 29 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
class YugabytedbAT220 < Formula
desc "High-performance distributed SQL database Yugabyte DB"
homepage "https://www.yugabyte.com/"
url "https://downloads.yugabyte.com/releases/2.20.2.0/yugabyte-2.20.2.0-b145-darwin-x86_64.tar.gz"
version "2.20.2.0"
sha256 "f8d9c8bb8ae6e5b90de0f8b40930d7d831c062ba9dc34b56bb0234064bd765a7"
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

0 comments on commit cbdf900

Please sign in to comment.