Skip to content

1.2.0

Latest

Choose a tag to compare

@rhukster rhukster released this 28 Apr 14:52
· 5 commits to main since this release
19c6998

Refactor: auto-detect installed versions, harden script, bump to 1.2.0

  • Drop hardcoded brew_array; discover installed php@X.Y from brew opt dir
    (PHP 8.6 picked up automatically; forward-compatible for 9.x)
  • Map module/lib via case statement; defaults to 8.x layout for major >= 8
  • Fix substring-match bug that let invalid args like "8" pass validation
  • Add set -euo pipefail and command -v brew preflight
  • Add local vars to helpers; broaden sed_escape to cover regex metas
  • Make Apache loop idempotent; anchor rewrite_module match
  • Implement -s (skip apache) and -c= (custom httpd.conf) flags
  • Add -h/--help; usage now lists actually-installed versions
  • Skip Apache step gracefully if conf is missing or unwritable
  • Only restart httpd if loaded as a brew service; filter "(might take a while)"
  • Switch shebang to /usr/bin/env bash; shellcheck clean