diff --git a/scripts/parse-label.py b/scripts/parse-label.py index 0e43877..e5f5c4d 100644 --- a/scripts/parse-label.py +++ b/scripts/parse-label.py @@ -23,7 +23,7 @@ class TagParser(Options): tag_toml = dumps(self.tags) tag_path = self.module_root / ".." / "build" / "tags.toml" - tag_path.mkdir(parents=True, exist_ok=True) + tag_path.parent.mkdir(parents=True, exist_ok=True) tag_path.touch(exist_ok=True) with open(tag_path, 'w', encoding='utf-8') as file: file.write(tag_toml)