Skip to content

Commit

Permalink
Brew formula update for fga version v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
goreleaserbot committed Jan 9, 2024
1 parent e122cfc commit 21dc5f5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Formula/fga.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 21dc5f5

Please sign in to comment.