diff --git a/Homebrew/mas-tap.rb b/Homebrew/mas-tap.rb index e736902d8..5a2238596 100644 --- a/Homebrew/mas-tap.rb +++ b/Homebrew/mas-tap.rb @@ -2,20 +2,20 @@ class Mas < Formula desc "Mac App Store command-line interface" homepage "https://github.com/mas-cli/mas" url "https://github.com/mas-cli/mas.git", - tag: "v1.8.2", - revision: "2f2a43b425498f3cee50974116b8c9d27adbb7cb" + tag: "v1.8.3", + revision: "aeeb1c508e98d657769ef4e368a113be7822d92e" license "MIT" head "https://github.com/mas-cli/mas.git" bottle do - root_url "https://github.com/mas-cli/mas/releases/download/v1.8.2" - sha256 cellar: :any_skip_relocation, arm64_big_sur: "76d7de5e7891f049c84f079b09c25f88576d45813651bdc529a8af4660c8efa0" - sha256 cellar: :any_skip_relocation, big_sur: "76d7de5e7891f049c84f079b09c25f88576d45813651bdc529a8af4660c8efa0" - sha256 cellar: :any_skip_relocation, catalina: "76d7de5e7891f049c84f079b09c25f88576d45813651bdc529a8af4660c8efa0" - sha256 cellar: :any_skip_relocation, mojave: "76d7de5e7891f049c84f079b09c25f88576d45813651bdc529a8af4660c8efa0" - sha256 cellar: :any_skip_relocation, high_sierra: "76d7de5e7891f049c84f079b09c25f88576d45813651bdc529a8af4660c8efa0" - sha256 cellar: :any_skip_relocation, sierra: "76d7de5e7891f049c84f079b09c25f88576d45813651bdc529a8af4660c8efa0" - sha256 cellar: :any_skip_relocation, el_capitan: "76d7de5e7891f049c84f079b09c25f88576d45813651bdc529a8af4660c8efa0" + root_url "https://github.com/mas-cli/mas/releases/download/v1.8.3" + sha256 cellar: :any_skip_relocation, arm64_big_sur: "3be8fedcbe67571100d0ec45f9ed4d68a22db93e406806a4365568138dd33bb7" + sha256 cellar: :any_skip_relocation, big_sur: "3be8fedcbe67571100d0ec45f9ed4d68a22db93e406806a4365568138dd33bb7" + sha256 cellar: :any_skip_relocation, catalina: "3be8fedcbe67571100d0ec45f9ed4d68a22db93e406806a4365568138dd33bb7" + sha256 cellar: :any_skip_relocation, mojave: "3be8fedcbe67571100d0ec45f9ed4d68a22db93e406806a4365568138dd33bb7" + sha256 cellar: :any_skip_relocation, high_sierra: "3be8fedcbe67571100d0ec45f9ed4d68a22db93e406806a4365568138dd33bb7" + sha256 cellar: :any_skip_relocation, sierra: "3be8fedcbe67571100d0ec45f9ed4d68a22db93e406806a4365568138dd33bb7" + sha256 cellar: :any_skip_relocation, el_capitan: "3be8fedcbe67571100d0ec45f9ed4d68a22db93e406806a4365568138dd33bb7" end depends_on :macos diff --git a/Homebrew/mas.rb b/Homebrew/mas.rb index e77738c64..26b54e1b7 100644 --- a/Homebrew/mas.rb +++ b/Homebrew/mas.rb @@ -2,15 +2,15 @@ class Mas < Formula desc "Mac App Store command-line interface" homepage "https://github.com/mas-cli/mas" url "https://github.com/mas-cli/mas.git", - tag: "v1.8.2", - revision: "2f2a43b425498f3cee50974116b8c9d27adbb7cb" + tag: "v1.8.3", + revision: "aeeb1c508e98d657769ef4e368a113be7822d92e" license "MIT" head "https://github.com/mas-cli/mas.git" bottle do - sha256 cellar: :any_skip_relocation, arm64_big_sur: "1be3820e630aa31911100619f299b7d6b56349cc7298555ad3a7198c8846d79d" - sha256 cellar: :any_skip_relocation, big_sur: "7c0d556cbae91f5770e1fb04fead95922e0931c4c897a1b940aae0347ff0e680" - sha256 cellar: :any_skip_relocation, catalina: "4fe1a0f7fb506a65578b4f25cb6e9b9c40cebb13ed61941f6d41e69a04b97a7a" + sha256 cellar: :any_skip_relocation, arm64_big_sur: "6498917d8d2106fa582aa0fd0714cd87ad7d091023c7b3c6b2db3a6051a2fb5b" + sha256 cellar: :any_skip_relocation, big_sur: "0116c8f800780c890dc819ff3479640f3b33ef235af9fe0bc7a53202b35c9b82" + sha256 cellar: :any_skip_relocation, catalina: "015c0e53aee08c429ff468fc2a9c8b0bc973df084c0e6366d92905714f20248b" end depends_on :macos diff --git a/script/bottle b/script/bottle index fb8822fef..f163bc070 100755 --- a/script/bottle +++ b/script/bottle @@ -75,6 +75,13 @@ brew install --build-bottle mas # Generate bottle do block, dropping last 2 lines brew bottle --verbose --no-rebuild --root-url="$ROOT_URL" mas +if ! test -e "${OLD_FILENAME}"; then + echo "Bottle not found: ${OLD_FILENAME}" + echo "If an old version is showing in the log and filename, then make sure the formula has been updated in:" + echo "/Library/Taps/homebrew/homebrew-core" + exit 1 +fi + SHA256=$(shasum --algorithm 256 "${OLD_FILENAME}" | cut -f 1 -d ' ' -) mkdir -p "$BOTTLE_DIR"