Skip to content

Commit c862dd7

Browse files
committed
Brew formula update for platform version 4.0.0-beta.3
1 parent 2733548 commit c862dd7

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

Formula/platformsh-cli.rb

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@
33

44
# This file was generated by GoReleaser. DO NOT EDIT.
55
class PlatformshCli < Formula
6-
desc "Platform.sh CLI."
6+
desc "Platform.sh CLI"
77
homepage "https://docs.platform.sh/administration/cli.html"
8-
version "4.0.0-beta.2"
8+
version "4.0.0-beta.3"
99
license "MIT"
1010

11+
depends_on "git" => :optional
12+
depends_on "oniguruma"
13+
depends_on "[email protected]"
14+
1115
on_macos do
12-
url "https://github.com/platformsh/homebrew-tap/releases/download/4.0.0-beta.2/platform_4.0.0-beta.2_darwin_all.tar.gz"
13-
sha256 "92ac488ab3af5437c9207fbe0f1cb88404fffbd6bbb8d87dd12e4dd5623cbbe6"
16+
url "https://github.com/platformsh/homebrew-tap/releases/download/4.0.0-beta.3/platform_4.0.0-beta.3_darwin_all.tar.gz"
17+
sha256 "0d34414a5ad162825ff698e980cc5e6af05493f9d06f5cb87a7acb24d8f0809c"
1418

1519
def install
1620
bin.install "platform"
@@ -19,18 +23,22 @@ def install
1923

2024
on_linux do
2125
if Hardware::CPU.intel?
22-
url "https://github.com/platformsh/homebrew-tap/releases/download/4.0.0-beta.2/platform_4.0.0-beta.2_linux_amd64.tar.gz"
23-
sha256 "99e56fd8eef50db8433dc588375815a7cdd4d407ceac22ae18c0955811cb6e16"
26+
url "https://github.com/platformsh/homebrew-tap/releases/download/4.0.0-beta.3/platform_4.0.0-beta.3_linux_amd64.tar.gz"
27+
sha256 "c50f0b9d117bf45a7b532271dfcdf906b2c4f64719b69c4ad28ade7381233080"
2428

2529
def install
2630
bin.install "platform"
2731
end
2832
end
29-
end
33+
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
34+
url "https://github.com/platformsh/homebrew-tap/releases/download/4.0.0-beta.3/platform_4.0.0-beta.3_linux_arm64.tar.gz"
35+
sha256 "294d2935dc0489f7710528f7a79db9962ee21767a0d480b8b512bdb0d9e15770"
3036

31-
depends_on "git" => :optional
32-
depends_on "oniguruma"
33-
depends_on "[email protected]"
37+
def install
38+
bin.install "platform"
39+
end
40+
end
41+
end
3442

3543
test do
3644
system "#{bin}/platform --version"

0 commit comments

Comments
 (0)