Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🍺 Homebrew formula for 1.8.3 #411

Merged
merged 2 commits into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions Homebrew/mas-tap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions Homebrew/mas.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions script/bottle
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<BREW_HOME>/Library/Taps/homebrew/homebrew-core"
exit 1
fi

SHA256=$(shasum --algorithm 256 "${OLD_FILENAME}" | cut -f 1 -d ' ' -)

mkdir -p "$BOTTLE_DIR"
Expand Down