diff --git a/.github/scripts/.build.zsh b/.github/scripts/.build.zsh index 514fcb295..3d3e0ba69 100755 --- a/.github/scripts/.build.zsh +++ b/.github/scripts/.build.zsh @@ -21,8 +21,8 @@ if (( ! ${+CI} )) { exit 1 } -autoload -Uz is-at-least && if ! is-at-least 5.2; then - print -u2 -PR "%F{1}${funcstack[1]##*/}:%f Running on Zsh version %B${ZSH_VERSION}%b, but Zsh %B5.2%b is the minimum supported version. Upgrade Zsh to fix this issue." +autoload -Uz is-at-least && if ! is-at-least 5.9; then + print -u2 -PR "%F{1}${funcstack[1]##*/}:%f Running on Zsh version %B${ZSH_VERSION}%b, but Zsh %B5.9%b is the minimum supported version. Upgrade Zsh to fix this issue." exit 1 fi diff --git a/.github/scripts/.package.zsh b/.github/scripts/.package.zsh index 85c23bfd2..22fd34ef8 100755 --- a/.github/scripts/.package.zsh +++ b/.github/scripts/.package.zsh @@ -21,8 +21,8 @@ if (( ! ${+CI} )) { exit 1 } -autoload -Uz is-at-least && if ! is-at-least 5.2; then - print -u2 -PR "%F{1}${funcstack[1]##*/}:%f Running on Zsh version %B${ZSH_VERSION}%b, but Zsh %B5.2%b is the minimum supported version. Upgrade Zsh to fix this issue." +autoload -Uz is-at-least && if ! is-at-least 5.9; then + print -u2 -PR "%F{1}${funcstack[1]##*/}:%f Running on Zsh version %B${ZSH_VERSION}%b, but Zsh %B5.9%b is the minimum supported version. Upgrade Zsh to fix this issue." exit 1 fi