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 Dec 22, 2023
1 parent cdfd2f3 commit b750b5e
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.7.1"
version "0.7.2"

if OS.mac? && Hardware::CPU.intel?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.7.1/kbcli-darwin-amd64-v0.7.1.tar.gz"
sha256 "84547972ab337a7637762adea5e1be3e20c8d2bb91cadc29ca0a23aaaf7525bd"
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.7.2/kbcli-darwin-amd64-v0.7.2.tar.gz"
sha256 "5262e3280d4387bf56f8b011fdaab975d23d35808407647436c407f9930d0230"
end

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

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

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

if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.7.1/kbcli-linux-arm64-v0.7.1.tar.gz"
sha256 "7bee4b1e84b83853298c7e82f8af41cd902b29424003532f55aa555520909618"
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.7.2/kbcli-linux-arm64-v0.7.2.tar.gz"
sha256 "b11ace8d151f693065582ecb767fdb26fd1e80a1435759b1f1976c9cbd8b9cb1"
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 KbcliAT072 < Formula
desc "Command-line for KubeBlocks"
homepage "https://kubeblocks.io/"
version "0.7.2"

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

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

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

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

if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://jihulab.com/api/v4/projects/85948/packages/generic/kubeblocks/v0.7.2/kbcli-linux-arm64-v0.7.2.tar.gz"
sha256 "b11ace8d151f693065582ecb767fdb26fd1e80a1435759b1f1976c9cbd8b9cb1"
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 b750b5e

Please sign in to comment.