Skip to content

Commit

Permalink
fixed typo (changed again how github variables are parsed)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZergLev committed Nov 8, 2024
1 parent b813b98 commit a388219
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/switcher_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ def generate_version_switcher():
blacklisted_tags = os.getenv("VERSION_SWITCHER_TAG_BLACKLIST", default="")
if blacklisted_tags == "":
blacklisted_tags = []
blacklisted_tags = blacklisted_tags.split(",")
else:
blacklisted_tags = blacklisted_tags.split(",")

whitelisted_tags = os.getenv("VERSION_SWITCHER_TAG_WHITELIST", default="")
if whitelisted_tags == "":
whitelisted_tags = []
whitelisted_tags = whitelisted_tags.split(",")
else:
whitelisted_tags = whitelisted_tags.split(",")

# Retrieve and filter git tags
repo = git.Repo("./")
Expand Down

0 comments on commit a388219

Please sign in to comment.