From 33650340418608ce8cbf31032e633af3ef610ff8 Mon Sep 17 00:00:00 2001 From: purplin Date: Fri, 24 May 2024 11:38:09 +0200 Subject: [PATCH] chore: bump version to 3.1.17 --- Formula/komiser.rb | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/Formula/komiser.rb b/Formula/komiser.rb index f5c2f32..d908e2d 100644 --- a/Formula/komiser.rb +++ b/Formula/komiser.rb @@ -5,20 +5,20 @@ class Komiser < Formula desc "Komiser.io command line interface" homepage "https://komiser.io" - version "3.1.16" + version "3.1.17" on_macos do - if Hardware::CPU.intel? - url "https://cli.komiser.io/3.1.16/komiser_Darwin_x86_64" - sha256 "77c66e844cded1b68e6f1a0e5e825174cf6e9f078942f7ec7177954103f3ad2c" + on_intel do + url "https://cli.komiser.io/3.1.17/komiser_Darwin_x86_64" + sha256 "9c713fb9cf9fc511b0ead47968575262e0e566e5d52ba9fa79bc56d08d6ddd12" def install bin.install "komiser_Darwin_x86_64" => "komiser" end end - if Hardware::CPU.arm? - url "https://cli.komiser.io/3.1.16/komiser_Darwin_arm64" - sha256 "41aa8366a47fd905f135456a2f738d573e63a5f074c344c9ff571ea5a400fb00" + on_arm do + url "https://cli.komiser.io/3.1.17/komiser_Darwin_arm64" + sha256 "7204c386880838b76a51ccdc2931226c2296471b5fe0b60af2a17daa1b21cdf2" def install bin.install "komiser_Darwin_arm64" => "komiser" @@ -27,12 +27,14 @@ def install end on_linux do - if Hardware::CPU.intel? - url "https://cli.komiser.io/3.1.16/komiser_Linux_x86_64" - sha256 "05535466367a998e8791d64ebc1a115a8c1326ab43f927e6bf8dd29860739bea" + on_intel do + if Hardware::CPU.is_64_bit? + url "https://cli.komiser.io/3.1.17/komiser_Linux_x86_64" + sha256 "fa99f48c63f06831952dfa46177951144e9f9acae23fb1cc32c92c701a4e2758" - def install - bin.install "komiser_Linux_x86_64" => "komiser" + def install + bin.install "komiser_Linux_x86_64" => "komiser" + end end end end