fuzzyworld

template / commit

Brew formula update for template version v0.2.6

4137df01bff331cab12310f5660283608f7a5eeb · Pavel Safronov · 2026-01-31 16:23:18 -0800 · parents ef540250231c

Brew formula update for template version v0.2.6
 HomebrewFormula/template.rb | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/HomebrewFormula/template.rb b/HomebrewFormula/template.rb
index af49650..72d747e 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.5"
+  version "0.2.6"
   license "MIT"
 
   on_macos do
     if Hardware::CPU.intel?
-      url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.5/downloads/template_0.2.5_darwin_amd64.tar.gz"
-      sha256 "6a89a782d18b9f46a2e66dc68c146baf0774eaeb26aea7ddfc2ce7b4cdf9c095"
+      url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.6/downloads/template_0.2.6_darwin_amd64.tar.gz"
+      sha256 "d6832f8f2cf48b163e9f26bb79ff9c7bf4638ac00603945c698a4946e9249c48"
 
       def install
         bin.install "template"
       end
     end
     if Hardware::CPU.arm?
-      url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.5/downloads/template_0.2.5_darwin_arm64.tar.gz"
-      sha256 "03b533f0c39aaab0b7474db98d9a115ff097dc65ba30d98ec4343a73775140b4"
+      url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.6/downloads/template_0.2.6_darwin_arm64.tar.gz"
+      sha256 "bfa375452c1ad065c3cb67752933f09e37ac454174152bf51a5e2a54d0796e22"
 
       def install
         bin.install "template"
@@ -28,18 +28,16 @@ class Template < Formula
   end
 
   on_linux do
-    if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
-      url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.5/downloads/template_0.2.5_linux_arm64.tar.gz"
-      sha256 "a97802b5e9623d49a3e52a577bfaa02b9169131c54a725dfb45c6f2548c38c56"
-
+    if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
+      url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.6/downloads/template_0.2.6_linux_amd64.tar.gz"
+      sha256 "61aed0210b2f82f252b12f014ca08045f16b1892d1929aacb73b4f89d38eacd3"
       def install
         bin.install "template"
       end
     end
-    if Hardware::CPU.intel?
-      url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.5/downloads/template_0.2.5_linux_amd64.tar.gz"
-      sha256 "76f3651ef802ef8249e07813cd0d8f9154a37ecf0bcb090a4261da14a6c75487"
-
+    if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
+      url "https://gitlab.com/PavelSafronov/template/-/releases/v0.2.6/downloads/template_0.2.6_linux_arm64.tar.gz"
+      sha256 "fb8bfd4a2fc1d408cfd11fe9e8bd85417936a897c7ab84ec74c74c34f0373b72"
       def install
         bin.install "template"
       end
@@ -47,7 +45,7 @@ class Template < Formula
   end
 
   def post_install
-    system "#{bin}/template reset"
+    system "#{bin}/template init"
   end
 
   def caveats