Skip to content

Commit

Permalink
Fix versions being strings always
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
mdellweg authored and ggainey committed Dec 7, 2023
1 parent d8d9918 commit 1411399
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugin-template
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,13 @@ def main():
config["plugins"] = [
{"name": config["plugin_name"], "app_label": config["plugin_app_label"]}
]
if not all(
(isinstance(version, str) for version in config["ci_update_branches"])
):
config["ci_update_branches"] = [
str(version) for version in config["ci_update_branches"]
]
write_new_config = True
print(
"\nLoaded plugin template config from "
"{path}/template_config.yml.\n".format(path=plugin_root_dir)
Expand Down

0 comments on commit 1411399

Please sign in to comment.