From 312b2ffcafa8139d3eb4bebd55f405abb77ecdc8 Mon Sep 17 00:00:00 2001 From: Adam Brightwell Date: Fri, 18 Nov 2022 10:59:46 -0500 Subject: [PATCH] chore: update `hack` from `big_sur` to `monterey` --- Formula/cb.rb | 4 ++-- hack | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Formula/cb.rb b/Formula/cb.rb index 58e8d87..7ec5b30 100644 --- a/Formula/cb.rb +++ b/Formula/cb.rb @@ -7,8 +7,8 @@ class Cb < Formula bottle do root_url "https://github.com/CrunchyData/homebrew-brew/releases/download/cb-3.1.0" - sha256 cellar: :any, arm64_big_sur: "85cea451eec057fa7e734548ca3ba6d779ed5836a3f9de14b8394575ef0d7d8e" - sha256 cellar: :any, monterey: "cd2c486026aa22a453a58a449c366d1d809accd4149142ca97c3b605d070d751" + sha256 cellar: :any, arm64_monterey: "ba09a59016190ec6fe4705b23732ff6f34f33f6cac11fa1130c3fb6a4d72c081" + sha256 cellar: :any, monterey: "cd2c486026aa22a453a58a449c366d1d809accd4149142ca97c3b605d070d751" end head do diff --git a/hack b/hack index 529e5b7..0a7010d 100755 --- a/hack +++ b/hack @@ -5,7 +5,7 @@ ver = ARGV[0] p ver static_mac_x86 = "https://github.com/CrunchyData/bridge-cli/releases/download/v#{ver}/cb-v#{ver}_macos_amd64.zip" -bottle_mac_x86 = "https://github.com/CrunchyData/homebrew-brew/releases/download/cb-#{ver}/cb-#{ver}.big_sur.bottle.tar.gz" +bottle_mac_x86 = "https://github.com/CrunchyData/homebrew-brew/releases/download/cb-#{ver}/cb-#{ver}.monterey.bottle.tar.gz" module Ok def `(cmd) @@ -29,13 +29,13 @@ Dir.chdir "scratch" `rm -rf cb/#{ver}/bin/cb` `mv binary cb/#{ver}/bin/cb` `chmod -w cb/#{ver}/bin/cb` -`tar cvzf cb-#{ver}.arm64_big_sur.bottle.tar.gz cb` +`tar cvzf cb-#{ver}.arm64_monterey.bottle.tar.gz cb` `rm -rf cb` -sha = `sha256sum cb-#{ver}.arm64_big_sur.bottle.tar.gz`.split.first +sha = `sha256sum cb-#{ver}.arm64_monterey.bottle.tar.gz`.split.first Dir.chdir ".." `sed -i '10i\\ \ -sha256 cellar: :any, arm64_big_sur: "#{sha}" +sha256 cellar: :any, arm64_monterey: "#{sha}" ' Formula/cb.rb` p `brew style --fix Formula/cb.rb` p `brew audit --formula Formula/cb.rb`