From 21dc5f5b2aaf005e99b6186ba69ba6d74d42e7bf Mon Sep 17 00:00:00 2001 From: goreleaserbot Date: Tue, 9 Jan 2024 12:51:52 -0500 Subject: [PATCH] Brew formula update for fga version v0.2.2 --- Formula/fga.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Formula/fga.rb b/Formula/fga.rb index 96d0820..03ebcd1 100644 --- a/Formula/fga.rb +++ b/Formula/fga.rb @@ -5,16 +5,16 @@ class Fga < Formula desc "A cross-platform CLI to interact with an OpenFGA server." homepage "https://openfga.dev/" - version "0.2.1" + version "0.2.2" license "Apache-2.0" depends_on "git" depends_on "go" => :optional on_macos do - if Hardware::CPU.intel? - url "https://github.com/openfga/cli/releases/download/v0.2.1/fga_0.2.1_darwin_amd64.tar.gz", using: CurlDownloadStrategy - sha256 "f7108e96d3f7dd3208470da80db85c6c4d0d6eacff85c9d0426d43b86a910253" + if Hardware::CPU.arm? + url "https://github.com/openfga/cli/releases/download/v0.2.2/fga_0.2.2_darwin_arm64.tar.gz", using: CurlDownloadStrategy + sha256 "638a7a388143f2a4e9fe4f3725f8e4ddd62d6ffe70da3e131cd0a1baa2b23142" def install bin.install "fga" @@ -24,9 +24,9 @@ def install man1.install "manpages/fga.1.gz" end end - if Hardware::CPU.arm? - url "https://github.com/openfga/cli/releases/download/v0.2.1/fga_0.2.1_darwin_arm64.tar.gz", using: CurlDownloadStrategy - sha256 "8ba13b4df0743be7f621738a25dcbfd9e7ad564bf93e9e51cea3663383d9a786" + if Hardware::CPU.intel? + url "https://github.com/openfga/cli/releases/download/v0.2.2/fga_0.2.2_darwin_amd64.tar.gz", using: CurlDownloadStrategy + sha256 "94d3cc35da1320a0e2539c40abb9cb4d897112cf8a60a3db0738b6728db1d49e" def install bin.install "fga" @@ -40,8 +40,8 @@ def install on_linux do if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? - url "https://github.com/openfga/cli/releases/download/v0.2.1/fga_0.2.1_linux_arm64.tar.gz", using: CurlDownloadStrategy - sha256 "f3acc48c4c31547ac5640edd00119c504fbe8e9a927c51030f7e70a361c96ae1" + url "https://github.com/openfga/cli/releases/download/v0.2.2/fga_0.2.2_linux_arm64.tar.gz", using: CurlDownloadStrategy + sha256 "54fa4a2e5074492821cc45538efbe7d323d092edbf3e9a9c11eed7232862835b" def install bin.install "fga" @@ -52,8 +52,8 @@ def install end end if Hardware::CPU.intel? - url "https://github.com/openfga/cli/releases/download/v0.2.1/fga_0.2.1_linux_amd64.tar.gz", using: CurlDownloadStrategy - sha256 "d71177067fbb480509fe4d9fede0fceb850947395781c55c12c565e42cf1fb90" + url "https://github.com/openfga/cli/releases/download/v0.2.2/fga_0.2.2_linux_amd64.tar.gz", using: CurlDownloadStrategy + sha256 "1a4964c01eea1f82314f6882a683613b8041f3e430b1618b7b23ede873127a57" def install bin.install "fga"