ci(homebrew): fix formula version patch (#4535)

This commit is contained in:
David Lane 2025-12-26 07:05:00 -05:00 committed by GitHub
commit b3a7782647
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -179,7 +179,7 @@ jobs:
# update the formula # update the formula
sed -i 's/class Sunshine < Formula/class SunshineBeta < Formula/' $formula_file sed -i 's/class Sunshine < Formula/class SunshineBeta < Formula/' $formula_file
sed -i 's/conflicts_with "sunshine-beta"/conflicts_with "sunshine"/' $formula_file sed -i 's/conflicts_with "sunshine-beta"/conflicts_with "sunshine"/' $formula_file
sed -i '0,/^ version .*$/d' $formula_file sed -i '/^ version .*$/d' $formula_file
# update livecheck to check for latest stable or pre-release # update livecheck to check for latest stable or pre-release
# shellcheck disable=SC1004 # shellcheck disable=SC1004