Fix condition for checking that the latest version is beta or RC

[MAILPOET-6096]
This commit is contained in:
Jan Lysý
2024-06-28 16:39:11 +02:00
committed by Jan Lysý
parent 5f3b94381a
commit 788112cbfc
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ for version in $VERSIONS; do
done
# Check if the latest version is a beta/RC version
if [[ $LATEST_VERSION != *'beta'* || $LATEST_VERSION != *'rc'* ]]; then
if [[ $LATEST_VERSION != *'beta'* && $LATEST_VERSION != *'rc'* ]]; then
echo "No WooCommerce beta/RC version found."
echo "LATEST_BETA="
else