brew.sh: bump unknown HOMEBREW_VERSION.

This commit is contained in:
Mike McQuaid 2023-11-30 11:44:10 +00:00 committed by GitHub
parent 1f483bfe71
commit e3d1996a43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -485,8 +485,8 @@ HOMEBREW_VERSION="$("${HOMEBREW_GIT}" -C "${HOMEBREW_REPOSITORY}" describe --tag
HOMEBREW_USER_AGENT_VERSION="${HOMEBREW_VERSION}" HOMEBREW_USER_AGENT_VERSION="${HOMEBREW_VERSION}"
if [[ -z "${HOMEBREW_VERSION}" ]] if [[ -z "${HOMEBREW_VERSION}" ]]
then then
HOMEBREW_VERSION=">=2.5.0 (shallow or no git repository)" HOMEBREW_VERSION=">=4.1.0 (shallow or no git repository)"
HOMEBREW_USER_AGENT_VERSION="2.X.Y" HOMEBREW_USER_AGENT_VERSION="4.X.Y"
fi fi
HOMEBREW_CORE_REPOSITORY="${HOMEBREW_LIBRARY}/Taps/homebrew/homebrew-core" HOMEBREW_CORE_REPOSITORY="${HOMEBREW_LIBRARY}/Taps/homebrew/homebrew-core"