Brew formula update for awl version v0.6.7

This commit is contained in:
goreleaserbot 2023-04-27 20:46:26 +00:00
parent d7b9c3cbcf
commit 3c9ac61e71

42
awl.rb
View file

@ -5,13 +5,13 @@
class Awl < Formula
desc "A DNS query tool"
homepage "https://dns.froth.zone/awl"
version "0.6.6"
version "0.6.7"
license "BSD-3-Clause"
on_macos do
if Hardware::CPU.arm?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.6/awl_MacOS_arm64.tar.gz"
sha256 "c9fc27393870642d543eb8a5f0c6f3435e5d1f898f8821eab9c07323dc4b9aa0"
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_MacOS_arm64.tar.gz"
sha256 "7ac22d8efc12b3bc80712681178c88e016549d2e6333b69defaf793be64f7793"
def install
bin.install "awl"
@ -22,8 +22,8 @@ class Awl < Formula
end
end
if Hardware::CPU.intel?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.6/awl_MacOS_amd64.tar.gz"
sha256 "41844f72669da60e4173e91f2b1f50a0a0fbf90c1415e9b08fb6028782ff98ec"
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_MacOS_amd64.tar.gz"
sha256 "fe1d34abd0a6d2065d967f4df92a79142842ffc789e939b81be57746cef251dd"
def install
bin.install "awl"
@ -36,21 +36,9 @@ class Awl < Formula
end
on_linux do
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.6/awl_Linux_arm.tar.gz"
sha256 "4c802e9009a59de611ced7c80db36d75bc7af7ee3de59b7059d3a0e011d0dfa6"
def install
bin.install "awl"
bash_completion.install "completions/bash.bash" => "awl"
zsh_completion.install "completions/zsh.zsh" => "_awl"
fish_completion.install "completions/fish.fish" => "awl.fish"
man1.install "doc/awl.1.gz"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.6/awl_Linux_arm64.tar.gz"
sha256 "2b29fac9418103e9214020a56474e77018618c5b61607f20cabc9a672cd2debf"
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_Linux_arm64.tar.gz"
sha256 "37b4a58cd269bfa7a15e36c6581f5464e31a8912244baa963b6b9a72f7d332e8"
def install
bin.install "awl"
@ -61,8 +49,20 @@ class Awl < Formula
end
end
if Hardware::CPU.intel?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.6/awl_Linux_amd64.tar.gz"
sha256 "22cd617c79decad7c85a38cf78073fbb1b45003721da0687dd381167cf162c4f"
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_Linux_amd64.tar.gz"
sha256 "aed93524eb727009b32195340c4db906e62aa9c0de2bc36f850d2ca23864d8cf"
def install
bin.install "awl"
bash_completion.install "completions/bash.bash" => "awl"
zsh_completion.install "completions/zsh.zsh" => "_awl"
fish_completion.install "completions/fish.fish" => "awl.fish"
man1.install "doc/awl.1.gz"
end
end
if Hardware::CPU.arm? && !Hardware::CPU.is_64_bit?
url "https://git.froth.zone/sam/awl/releases/download/v0.6.7/awl_Linux_arm.tar.gz"
sha256 "51a1a20b4f5be5442b363de3dfd81979ebc3042eda68dcca8e3b71d39316649a"
def install
bin.install "awl"