-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brew formula update for platform version 4.0.0-beta.3
- Loading branch information
1 parent
2733548
commit c862dd7
Showing
1 changed file
with
18 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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" | ||
|