Skip to content

Commit

Permalink
Merge pull request #63 from yugabyte/cdavid/ybm_cli_0.1.16
Browse files Browse the repository at this point in the history
YBM CLI 0.1.16
  • Loading branch information
cdavid committed Sep 26, 2023
2 parents 1aa0536 + 98a8fbd commit f3c764c
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Formula/ybm.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
class Ybm < Formula
desc "YugabyteDB Managed CLI"
homepage "https://github.com/yugabyte/ybm-cli"
version "0.1.15"
version "0.1.16"
license "Apache-2.0"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.15/ybm_0.1.15_darwin_amd64.zip"
sha256 "71f7b70b6a64e1f7294219ad7e615c35c03a91acb07907671a255ab5df9f609c"
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.16/ybm_0.1.16_darwin_amd64.zip"
sha256 "163315931d3eab30723ca30cd6f830bde8e883501dcc71d7b360b7a73ffa4daf"

def install
bin.install "ybm"
end
end
if Hardware::CPU.arm?
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.15/ybm_0.1.15_darwin_arm64.zip"
sha256 "ebc337334dd68a1448004792b308a3f30e0d766ed7431131f6c440bedfbd47a4"
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.16/ybm_0.1.16_darwin_arm64.zip"
sha256 "5e443ac6e76a53996277d56ede01d8155fc7df6b2a648816d46c8cfe643a4e30"

def install
bin.install "ybm"
Expand All @@ -25,16 +25,16 @@ def install

on_linux do
if Hardware::CPU.intel?
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.15/ybm_0.1.15_linux_amd64.zip"
sha256 "d48bfeaf1e836ad6eefce10315731a9c20ac4d7b3c84d9023b55e9d0546e0809"
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.16/ybm_0.1.16_linux_amd64.zip"
sha256 "423888df8cd24e55808d29c63e703b6c23eed5b103ec364e75ee2af810b39976"

def install
bin.install "ybm"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.15/ybm_0.1.15_linux_arm64.zip"
sha256 "c6017d82039620668f5fb8c545e80fbe9f720ccdcb3c078b707c6cb7bae137a7"
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.16/ybm_0.1.16_linux_arm64.zip"
sha256 "4c751ba585ec7252d967445cfea211b98fff84b33d898ead2aa2f46239e76d0a"

def install
bin.install "ybm"
Expand Down
44 changes: 44 additions & 0 deletions Formula/ybm@0.1.16.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
class Ybm < Formula
desc "YugabyteDB Managed CLI"
homepage "https://github.com/yugabyte/ybm-cli"
version "0.1.16"
license "Apache-2.0"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.16/ybm_0.1.16_darwin_amd64.zip"
sha256 "163315931d3eab30723ca30cd6f830bde8e883501dcc71d7b360b7a73ffa4daf"

def install
bin.install "ybm"
end
end
if Hardware::CPU.arm?
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.16/ybm_0.1.16_darwin_arm64.zip"
sha256 "5e443ac6e76a53996277d56ede01d8155fc7df6b2a648816d46c8cfe643a4e30"

def install
bin.install "ybm"
end
end
end

on_linux do
if Hardware::CPU.intel?
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.16/ybm_0.1.16_linux_amd64.zip"
sha256 "423888df8cd24e55808d29c63e703b6c23eed5b103ec364e75ee2af810b39976"

def install
bin.install "ybm"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/yugabyte/ybm-cli/releases/download/v0.1.16/ybm_0.1.16_linux_arm64.zip"
sha256 "4c751ba585ec7252d967445cfea211b98fff84b33d898ead2aa2f46239e76d0a"

def install
bin.install "ybm"
end
end
end
end

0 comments on commit f3c764c

Please sign in to comment.