0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-19 20:32:15 +02:00

CI: Update build and package scripts to require Zsh 5.9

This commit is contained in:
PatTheMav 2024-09-13 23:49:06 +02:00 committed by Ryan Foster
parent 5243783d1b
commit fd63da92ee
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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