diff --git a/hammer.rb b/hammer.rb index 0207dd1..d5ec2ee 100644 --- a/hammer.rb +++ b/hammer.rb @@ -1,22 +1,32 @@ +# typed: false +# frozen_string_literal: true + # This file was generated by GoReleaser. DO NOT EDIT. class Hammer < Formula desc "" homepage "" - version "0.10.0" - bottle :unneeded + version "0.11.0" - if OS.mac? - url "https://github.com/pivotal/hammer/releases/download/v0.10.0/hammer_darwin_amd64.tar.gz" - sha256 "70e8edc3a986267c3c658657d70a729ef9cdde077af4d7adc90e40d3e32b6ea4" - elsif OS.linux? + on_macos do if Hardware::CPU.intel? - url "https://github.com/pivotal/hammer/releases/download/v0.10.0/hammer_linux_amd64.tar.gz" - sha256 "af1480409eb4b5c182fff00a0212ba154ccfe2873828abf7f12782676cd1e83d" + url "https://github.com/pivotal/hammer/releases/download/v0.11.0/hammer_darwin_amd64.tar.gz" + sha256 "e560776045f01801539c6320d1a8d92ea4bd669fb74c132d3e34d8a6a98897ca" + + def install + bin.install "hammer" + end end end - def install - bin.install "hammer" + on_linux do + if Hardware::CPU.intel? + url "https://github.com/pivotal/hammer/releases/download/v0.11.0/hammer_linux_amd64.tar.gz" + sha256 "1b9ad0214728e4ff3636046804b6398abcac6ad8110a26860adab29624a1bb04" + + def install + bin.install "hammer" + end + end end test do