Skip to content

Commit

Permalink
Merge pull request #12 from brett-hodges/main-homebrew-update
Browse files Browse the repository at this point in the history
homebrew: update Homebrew Formula for main
  • Loading branch information
brett-hodges authored Oct 4, 2024
2 parents 0e9c4fb + 660b3eb commit d15e5d0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions build/homebrew/homebrew-metadata.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"05fb4154c4db321d0498767c30d8d54e1cd4c028e7500bd14446f72e619b2f23" "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-darwin-arm64.tar.gz" darwin-arm64 0.4.4
"7f8ad1c5a33979a8ccef0492bc37c19974f15a3dc02d6c3f9f3e53bd1b69153d" "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-darwin-x86_64.tar.gz" darwin-x86_64 0.4.4
"6a5cebafee8b452615a3cfdb9825bef0cddaa3c0eb7fcbf9cda7e8e94a6f542f" "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-linux-arm64.tar.gz" linux-arm64 0.4.4
"3fead337eff880bad9ee898de06ed2f399ea6f38fb1120141d538d8a66bd38a4" "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-linux-i386.tar.gz" linux-i386 0.4.4
"efc429106df85e580656aabc27d3c442362fd98d0351e623ce7880aa0b5c05aa" "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-linux-x86_64.tar.gz" linux-x86_64 0.4.4
"72218d6541da87cdac27e1dd8c994646470731742217aad52728a37b1f907dc8" "https://github.com/brett-hodges/kitops/releases/download/main/kitops-darwin-arm64.tar.gz" darwin-arm64 main
"3c7b82321bed488886f5b5f699b66078541ab1a8fc311c083710f80013b670e9" "https://github.com/brett-hodges/kitops/releases/download/main/kitops-darwin-x86_64.tar.gz" darwin-x86_64 main
"9d92a6f005681e3a494b16be3073ed2ec752ba339c69eb74e5e9783857ef1f0f" "https://github.com/brett-hodges/kitops/releases/download/main/kitops-linux-arm64.tar.gz" linux-arm64 main
"aad06aef59209e5abdc3f36047b16ba7756491c841b8984311e9ccaae37434d3" "https://github.com/brett-hodges/kitops/releases/download/main/kitops-linux-i386.tar.gz" linux-i386 main
"e9a9c8d7bb78f2478731439469dda503b70ec344e249c7366d1a8c4dfabdac4a" "https://github.com/brett-hodges/kitops/releases/download/main/kitops-linux-x86_64.tar.gz" linux-x86_64 main
22 changes: 11 additions & 11 deletions build/homebrew/kitops.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ class Kitops < Formula

on_macos do
on_arm do
url "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-darwin-arm64.tar.gz"
sha256 "05fb4154c4db321d0498767c30d8d54e1cd4c028e7500bd14446f72e619b2f23"
url "https://github.com/brett-hodges/kitops/releases/download/main/kitops-darwin-arm64.tar.gz"
sha256 "72218d6541da87cdac27e1dd8c994646470731742217aad52728a37b1f907dc8"
end
on_intel do
url "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-darwin-x86_64.tar.gz"
sha256 "7f8ad1c5a33979a8ccef0492bc37c19974f15a3dc02d6c3f9f3e53bd1b69153d"
url "https://github.com/brett-hodges/kitops/releases/download/main/kitops-darwin-x86_64.tar.gz"
sha256 "3c7b82321bed488886f5b5f699b66078541ab1a8fc311c083710f80013b670e9"
end

end

on_linux do
on_arm do
url "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-linux-arm64.tar.gz"
sha256 "6a5cebafee8b452615a3cfdb9825bef0cddaa3c0eb7fcbf9cda7e8e94a6f542f"
url "https://github.com/brett-hodges/kitops/releases/download/main/kitops-linux-arm64.tar.gz"
sha256 "9d92a6f005681e3a494b16be3073ed2ec752ba339c69eb74e5e9783857ef1f0f"
end
on_intel do
if Hardware::CPU.is_64_bit?
url "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-linux-x86_64.tar.gz"
sha256 "efc429106df85e580656aabc27d3c442362fd98d0351e623ce7880aa0b5c05aa"
url "https://github.com/brett-hodges/kitops/releases/download/main/kitops-linux-x86_64.tar.gz"
sha256 "e9a9c8d7bb78f2478731439469dda503b70ec344e249c7366d1a8c4dfabdac4a"
else
url "https://github.com/brett-hodges/kitops/releases/download/v0.4.4/kitops-linux-i386.tar.gz"
sha256 "3fead337eff880bad9ee898de06ed2f399ea6f38fb1120141d538d8a66bd38a4"
url "https://github.com/brett-hodges/kitops/releases/download/main/kitops-linux-i386.tar.gz"
sha256 "aad06aef59209e5abdc3f36047b16ba7756491c841b8984311e9ccaae37434d3"
end
end
end
Expand All @@ -36,7 +36,7 @@ def install
end

test do
expected_version = "Version: 0.4.4"
expected_version = "Version: main"
actual_version = shell_output("#{bin}/kit version").strip
assert_match expected_version, actual_version
end
Expand Down

0 comments on commit d15e5d0

Please sign in to comment.