From 93062945faeb5403abab75a2f79bbe9b742c1ce5 Mon Sep 17 00:00:00 2001 From: goreleaser-bot Date: Wed, 9 Oct 2024 10:53:37 -0400 Subject: [PATCH] Brew formula update for files-cli version v0.1.0 --- files-cli.rb | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 files-cli.rb diff --git a/files-cli.rb b/files-cli.rb new file mode 100644 index 0000000..0e300b7 --- /dev/null +++ b/files-cli.rb @@ -0,0 +1,52 @@ +# typed: false +# frozen_string_literal: true + +# This file was generated by GoReleaser. DO NOT EDIT. +class FilesCli < Formula + desc "Official Pinata Files CLI written in Go" + homepage "https://github.com/PinataCloud/files-cli" + version "0.1.0" + license "MIT" + + on_macos do + on_intel do + url "https://github.com/PinataCloud/files-cli/releases/download/v0.1.0/files-cli_Darwin_x86_64.tar.gz" + sha256 "2723c67da2db60f75eb93792f4c40959e374352c38efcb7d1d7f8f60a30f015c" + + def install + bin.install "pinata" + end + end + on_arm do + url "https://github.com/PinataCloud/files-cli/releases/download/v0.1.0/files-cli_Darwin_arm64.tar.gz" + sha256 "dd8324e3ee6ec441a079ba91a646a4bdd35f65368c45c5d14810b3932dea33f4" + + def install + bin.install "pinata" + end + end + end + + on_linux do + on_intel do + if Hardware::CPU.is_64_bit? + url "https://github.com/PinataCloud/files-cli/releases/download/v0.1.0/files-cli_Linux_x86_64.tar.gz" + sha256 "0339bd3d0ebb4db6e0c8c3802263642d4c21b0d67478434b6106a8fd697bc7d9" + + def install + bin.install "pinata" + end + end + end + on_arm do + if Hardware::CPU.is_64_bit? + url "https://github.com/PinataCloud/files-cli/releases/download/v0.1.0/files-cli_Linux_arm64.tar.gz" + sha256 "714b7325c792766f724d01ffb3a8c71fb5d05833155256242b5c990150f72e7d" + + def install + bin.install "pinata" + end + end + end + end +end