From fd63da92ee9a8a24888e83f8418612df2b4bab93 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Fri, 13 Sep 2024 23:49:06 +0200 Subject: [PATCH] CI: Update build and package scripts to require Zsh 5.9 --- .github/scripts/.build.zsh | 4 ++-- .github/scripts/.package.zsh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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