Skip to content

Commit

Permalink
Brew formula update for platform version 4.0.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
akalipetis committed Oct 19, 2022
1 parent 2733548 commit c862dd7
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions Formula/platformsh-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@

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

depends_on "git" => :optional
depends_on "oniguruma"
depends_on "[email protected]"

on_macos do
url "https://github.com/platformsh/homebrew-tap/releases/download/4.0.0-beta.2/platform_4.0.0-beta.2_darwin_all.tar.gz"
sha256 "92ac488ab3af5437c9207fbe0f1cb88404fffbd6bbb8d87dd12e4dd5623cbbe6"
url "https://github.com/platformsh/homebrew-tap/releases/download/4.0.0-beta.3/platform_4.0.0-beta.3_darwin_all.tar.gz"
sha256 "0d34414a5ad162825ff698e980cc5e6af05493f9d06f5cb87a7acb24d8f0809c"

def install
bin.install "platform"
Expand All @@ -19,18 +23,22 @@ def install

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

def install
bin.install "platform"
end
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/platformsh/homebrew-tap/releases/download/4.0.0-beta.3/platform_4.0.0-beta.3_linux_arm64.tar.gz"
sha256 "294d2935dc0489f7710528f7a79db9962ee21767a0d480b8b512bdb0d9e15770"

depends_on "git" => :optional
depends_on "oniguruma"
depends_on "[email protected]"
def install
bin.install "platform"
end
end
end

test do
system "#{bin}/platform --version"
Expand Down

0 comments on commit c862dd7

Please sign in to comment.