diff --git a/script/brew_core_update b/script/brew_core_update index c70c289..af8f46e 100755 --- a/script/brew_core_update +++ b/script/brew_core_update @@ -130,7 +130,6 @@ popd echo "==> 🧪 Updating homebrew-core formula mas (${MAS_VERSION}, ${REVISION})" - echo "Validating formula" brew bump-formula-pr \ --tag="${MAS_VERSION}" \ diff --git a/script/brew_tap_update b/script/brew_tap_update index 31b8c61..6dd7a88 100755 --- a/script/brew_tap_update +++ b/script/brew_tap_update @@ -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}"