template / commit
Brew formula update for template version v0.2.1
HomebrewFormula/template.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/HomebrewFormula/template.rb b/HomebrewFormula/template.rb index 40bf531..d36726c 100644 --- a/HomebrewFormula/template.rb +++ b/HomebrewFormula/template.rb @@ -5,21 +5,21 @@ class Template < Formula desc "This CLI creates files and folders with generated templated names and content." homepage "https://gitlab.com/PavelSafronov/template" - version "0.2.0" + version "0.2.1" license "MIT" on_macos do if Hardware::CPU.intel? - url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.0/downloads/template_0.2.0_Darwin_x86_64.tar.gz" - sha256 "48e1205ff40b8d806072bceae70bb945a28935214563e30e1a78f321e04e3537" + url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.1/downloads/template_0.2.1_Darwin_x86_64.tar.gz" + sha256 "b84b5609fa86b591c0cb16d9880a84209d0af9bd427a862b1c186c162c435604" def install bin.install "template" end end if Hardware::CPU.arm? - url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.0/downloads/template_0.2.0_Darwin_arm64.tar.gz" - sha256 "4f6049775cff048de501f1eebec841cbc2f859d3286a2d040e0a1bbe457c7112" + url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.1/downloads/template_0.2.1_Darwin_arm64.tar.gz" + sha256 "0ea2d452f80d7b98147fc2c57ceaec90f68b67fed7b6094730d3be36b4061b17" def install bin.install "template" @@ -28,17 +28,17 @@ class Template < Formula end on_linux do - if Hardware::CPU.intel? - url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.0/downloads/template_0.2.0_Linux_x86_64.tar.gz" - sha256 "f96abf0e093aca6bab58900aac9c95587de99631baf4355a62b13a0f37159673" + if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? + url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.1/downloads/template_0.2.1_Linux_arm64.tar.gz" + sha256 "961d5a933edffc3c3bd4a2d5da7768cd1fbf9426c046094fa297c77f38dffd6a" def install bin.install "template" end end - if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? - url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.0/downloads/template_0.2.0_Linux_arm64.tar.gz" - sha256 "5d73d1243408b08f47e633ce7a64513ca8f704728fb2531725dfb2a230900e6a" + if Hardware::CPU.intel? + url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.1/downloads/template_0.2.1_Linux_x86_64.tar.gz" + sha256 "cc5d1b8670766e1f3cbf6fa26648dd523b1d0654f6d87b07d20c2932464dbf22" def install bin.install "template"