Skip to content

Commit

Permalink
chore: auto update kbcli version
Browse files Browse the repository at this point in the history
  • Loading branch information
apecloud-bot committed May 21, 2024
1 parent 87360d8 commit 31531de
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Formula/kbcli.rb
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
class Kbcli < Formula
desc "Command-line for KubeBlocks"
homepage "https://kubeblocks.io/"
version "0.8.2"
version "0.8.3"

if OS.mac? && Hardware::CPU.intel?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.2/kbcli-darwin-amd64-v0.8.2.tar.gz"
sha256 "be46bb9383e87384ac5b57d5de2cb3f5ea929296f842bb7cfd236fce2e964c73"
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-darwin-amd64-v0.8.3.tar.gz"
sha256 "71e4d1cd47dfc0fb5f5efc2a424837ea1ebfe3124b2cd14a08e3dfe15ee44085"
end

if OS.mac? && Hardware::CPU.arm?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.2/kbcli-darwin-arm64-v0.8.2.tar.gz"
sha256 "777e8401f70fbc6f32905672fb9d289e9f44d3d5dc7a11dd2ba51cb2fbdc2ad9"
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-darwin-arm64-v0.8.3.tar.gz"
sha256 "f3a497e0b78b97b7e422ad69621958380495131626fcffabd37341431aecffc5"
end

if OS.linux? && Hardware::CPU.intel?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.2/kbcli-linux-amd64-v0.8.2.tar.gz"
sha256 "eda45306869057ca91e3371b0694b8b51cc8cd45e8e033a0a8d611248f1b7ac5"
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-linux-amd64-v0.8.3.tar.gz"
sha256 "e1c09b72d71b341f2a275105431ba689e23b76e32343136234ce2b424cc1ecac"
end

if OS.linux? && Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.2/kbcli-linux-amd64-v0.8.2.tar.gz"
sha256 "eda45306869057ca91e3371b0694b8b51cc8cd45e8e033a0a8d611248f1b7ac5"
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-linux-amd64-v0.8.3.tar.gz"
sha256 "e1c09b72d71b341f2a275105431ba689e23b76e32343136234ce2b424cc1ecac"
end

if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.2/kbcli-linux-arm64-v0.8.2.tar.gz"
sha256 "eda45306869057ca91e3371b0694b8b51cc8cd45e8e033a0a8d611248f1b7ac5"
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-linux-arm64-v0.8.3.tar.gz"
sha256 "e1c09b72d71b341f2a275105431ba689e23b76e32343136234ce2b424cc1ecac"
end

conflicts_with "kbcli"
Expand Down
41 changes: 41 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
class KbcliAT083 < Formula
desc "Command-line for KubeBlocks"
homepage "https://kubeblocks.io/"
version "0.8.3"

if OS.mac? && Hardware::CPU.intel?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-darwin-amd64-v0.8.3.tar.gz"
sha256 "71e4d1cd47dfc0fb5f5efc2a424837ea1ebfe3124b2cd14a08e3dfe15ee44085"
end

if OS.mac? && Hardware::CPU.arm?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-darwin-arm64-v0.8.3.tar.gz"
sha256 "f3a497e0b78b97b7e422ad69621958380495131626fcffabd37341431aecffc5"
end

if OS.linux? && Hardware::CPU.intel?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-linux-amd64-v0.8.3.tar.gz"
sha256 "e1c09b72d71b341f2a275105431ba689e23b76e32343136234ce2b424cc1ecac"
end

if OS.linux? && Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-linux-amd64-v0.8.3.tar.gz"
sha256 "e1c09b72d71b341f2a275105431ba689e23b76e32343136234ce2b424cc1ecac"
end

if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.8.3/kbcli-linux-arm64-v0.8.3.tar.gz"
sha256 "e1c09b72d71b341f2a275105431ba689e23b76e32343136234ce2b424cc1ecac"
end

conflicts_with "kbcli"

def install
bin.install "kbcli"
generate_completions_from_executable(bin/"kbcli", "completion", shells: [:bash, :zsh])
end

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

0 comments on commit 31531de

Please sign in to comment.