# shellcheck shell=bash

fh_run() {
  fh_log_info "🔧 Orchestra Hanging Fix and Redeploy v0.1.8"
  echo "=============================================="
  echo

  if [[ ! -f "install/homebrew/Formula/orchestra.rb" ]]; then
    fh_log_error "Must run from orchestrator root directory"
    exit 1
  fi

  fh_verify_formula
  fh_commit_fix
  fh_push_fix
  fh_update_homebrew_tap
  fh_create_patch_release
  fh_summary
}
