Skip to content

Commit

Permalink
Brew formula update for fork-sweeper version v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rednafi committed Mar 18, 2024
1 parent cb76df6 commit 5406908
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions fork-sweeper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
class ForkSweeper < Formula
desc "Remove unused GitHub forks"
homepage "https://github.com/rednafi/fork-sweeper"
version "0.1.3"
version "0.2.0"

on_macos do
if Hardware::CPU.intel?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.1.3/fork-sweeper_Darwin_x86_64.tar.gz"
sha256 "a45668a0f295340bf273430299e062c90065fd1ee92b39ab3088215b6a7b4c6c"
if Hardware::CPU.arm?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.2.0/fork-sweeper_Darwin_arm64.tar.gz"
sha256 "601eb38f8cf92a4f0c1d67fff23b50af8537431cba400896dd5b25ca62eae0db"

def install
bin.install "fork-sweeper"
end
end
if Hardware::CPU.arm?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.1.3/fork-sweeper_Darwin_arm64.tar.gz"
sha256 "74d576de590b4eb19cd7723adc5788fb357189b082a582b234e1fab873446c2e"
if Hardware::CPU.intel?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.2.0/fork-sweeper_Darwin_x86_64.tar.gz"
sha256 "275cc064ed2abfdde1aac115c73bc1875245a977cc47827296a293b2248549a6"

def install
bin.install "fork-sweeper"
Expand All @@ -28,16 +28,16 @@ def install

on_linux do
if Hardware::CPU.intel?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.1.3/fork-sweeper_Linux_x86_64.tar.gz"
sha256 "ab7dc5d0936e03acbaa679084f1b794645e9a5e1059a34862258190c46022d48"
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.2.0/fork-sweeper_Linux_x86_64.tar.gz"
sha256 "b1bf436b7797c97f88e8aaf300ef895934cc0d960037b7bd1d3221c76fcf9313"

def install
bin.install "fork-sweeper"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.1.3/fork-sweeper_Linux_arm64.tar.gz"
sha256 "e70716a2073eedcd1ec5aa13fc85e2e0233e637c599b3cd268c6c35b4f6af9d6"
url "https://github.com/rednafi/fork-sweeper/releases/download/v0.2.0/fork-sweeper_Linux_arm64.tar.gz"
sha256 "6f250e778a56904c81d85a61680ef464636e49b9262435665463db71cd74eb82"

def install
bin.install "fork-sweeper"
Expand Down

0 comments on commit 5406908

Please sign in to comment.