Skip to content

Commit

Permalink
update homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
qiushiyan committed May 23, 2024
2 parents c94662e + c0d8458 commit ce67528
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions degit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,35 @@
class Degit < Formula
desc "A Go port of the node degit CLI https://github.com/rich-harris/degit. Download remote repositories without git history. Supports specifying subdirectory, branch and commit hash."
homepage "https://github.com/qiushiyan"
version "0.0.4"
version "0.0.5"

on_macos do
url "https://github.com/qiushiyan/degit/releases/download/v0.0.4/go-degit_Darwin_all.tar.gz"
sha256 "65a49f20378baa9b9ceea7bdfd771280cf158dbe48d0211b307f7adbeea7658b"
url "https://github.com/qiushiyan/degit/releases/download/v0.0.5/degit_Darwin_all.tar.gz"
sha256 "ea6457e8983d5caaf340793763180beb7eada7e840cd97346ee3daa1fc040eeb"

def install
bin.install "go-degit"
bin.install "degit"
end
end

on_linux do
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/qiushiyan/degit/releases/download/v0.0.4/go-degit_Linux_x86_64.tar.gz"
sha256 "53376e7ce092b7ebce567c8e3a33ac2406bc1e0ab142717986482e090fec56c2"
url "https://github.com/qiushiyan/degit/releases/download/v0.0.5/degit_Linux_x86_64.tar.gz"
sha256 "c8a2c1c56c8220f2bf5859c3c6abde50dc7deb05d9075434226aa71b155f9afb"

def install
bin.install "go-degit"
bin.install "degit"
end
end
end
on_arm do
if Hardware::CPU.is_64_bit?
url "https://github.com/qiushiyan/degit/releases/download/v0.0.4/go-degit_Linux_arm64.tar.gz"
sha256 "9301a7ab4e5953894717538d9e6bc3b367dc6327fc2908eb787ee5474300fbed"
url "https://github.com/qiushiyan/degit/releases/download/v0.0.5/degit_Linux_arm64.tar.gz"
sha256 "40004dbce72a13f1c34acb1259a8a62c04a53ed85fb6933cded7970f410b7683"

def install
bin.install "go-degit"
bin.install "degit"
end
end
end
Expand Down

0 comments on commit ce67528

Please sign in to comment.