🚨 Remove unused vars

This commit is contained in:
Ben Chatelain 2024-11-03 12:11:41 -07:00
parent 7bde8fa7e6
commit 58f9fbcc8c
No known key found for this signature in database
2 changed files with 0 additions and 27 deletions

View file

@ -130,7 +130,6 @@ popd
echo "==> 🧪 Updating homebrew-core formula mas (${MAS_VERSION}, ${REVISION})"
echo "Validating formula"
brew bump-formula-pr \
--tag="${MAS_VERSION}" \

View file

@ -7,12 +7,6 @@
# https://github.com/mas-cli/homebrew-tap/blob/main/Formula/mas.rb
#
MAS_TAP_PATH="$(brew --repository mas-cli/tap)"
MAS_TAP_FORMULA_FILE="${MAS_TAP_PATH}/Formula/mas.rb"
PROJECT_PATH="$(git rev-parse --show-toplevel)"
LOCAL_TAP_FORMULA_PATH="${PROJECT_PATH}/Homebrew/mas-tap.rb"
function usage {
echo "Usage: brew_tap_update [-d] v0.0 [sha1_hash]"
echo " -d option enables dry run mode"
@ -26,26 +20,6 @@ if [[ $# -gt 3 ]]; then
usage 1>&2
fi
echo=''
# Detect presence of `-d` dry run option
while getopts "d" o; do
case "${o}" in
d)
echo='echo (DRY-RUN):'
;;
*)
usage 1>&2
;;
esac
done
# DRY_RUN environment variable
# shellcheck disable=SC2153
if [[ $DRY_RUN == 'true' ]]; then
echo='echo (DRY-RUN):'
fi
# arg 1 - version tag
if [[ -n "${1}" ]]; then
MAS_VERSION="${1}"