Skip to content

Commit

Permalink
Brew formula update for cru version 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanholsteijn committed Aug 8, 2023
1 parent 3fc1555 commit d828da3
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions Formula/cru.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class Cru < Formula
desc "utility to update container image references"
homepage "https://github.com/binxio/cru"
version "2.0.2"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/binxio/cru/releases/download/2.0.2/cru_2.0.2_darwin_amd64.tar.gz"
sha256 "d3c092588b41075b642a55d5bd69a1276e699312f9558e681839a89f70c712bc"

def install
bin.install "cru"
end
end
if Hardware::CPU.arm?
url "https://github.com/binxio/cru/releases/download/2.0.2/cru_2.0.2_darwin_arm64.tar.gz"
sha256 "a5f04ddc99019a183db8e4abd9037015868093b3ecda6ee3833546c05944c364"

def install
bin.install "cru"
end
end
end

on_linux do
if Hardware::CPU.intel?
url "https://github.com/binxio/cru/releases/download/2.0.2/cru_2.0.2_linux_amd64.tar.gz"
sha256 "8f5f9bf5b2d61353136d81d5d931972f4b65255944402227134176bda580ba0b"

def install
bin.install "cru"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/binxio/cru/releases/download/2.0.2/cru_2.0.2_linux_arm64.tar.gz"
sha256 "30e9ebb439bdabafd6a130572470cf7579b2a8b565ca0b4311c9afd8c7287521"

def install
bin.install "cru"
end
end
end
end

0 comments on commit d828da3

Please sign in to comment.