Skip to content

Commit

Permalink
fixed github-actions variables parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ZergLev committed Nov 8, 2024
1 parent 9146de4 commit b813b98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/switcher_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(",")

Expand Down

0 comments on commit b813b98

Please sign in to comment.