From b813b98b8e17428885f02e6bdf16d146dfa881cf Mon Sep 17 00:00:00 2001 From: ZergLev <64711614+ZergLev@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:36:29 +0000 Subject: [PATCH] fixed github-actions variables parsing --- scripts/switcher_gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/switcher_gen.py b/scripts/switcher_gen.py index b35c941c9..93bc546e6 100644 --- a/scripts/switcher_gen.py +++ b/scripts/switcher_gen.py @@ -30,12 +30,12 @@ def generate_version_switcher(): start_version = os.getenv("VERSION_SWITCHER_STARTING_TAG", default="v0.8.0") blacklisted_tags = os.getenv("VERSION_SWITCHER_TAG_BLACKLIST", default="") - if blacklisted_tags = "": + if blacklisted_tags == "": blacklisted_tags = [] blacklisted_tags = blacklisted_tags.split(",") whitelisted_tags = os.getenv("VERSION_SWITCHER_TAG_WHITELIST", default="") - if whitelisted_tags = "": + if whitelisted_tags == "": whitelisted_tags = [] whitelisted_tags = whitelisted_tags.split(",")