Skip to content

Commit 545b49c

Browse files
authored
Update generate_spec_xml.py (#36851)
Bump default output dir to v1.4 Branch
1 parent 6e77b54 commit 545b49c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/spec_xml/generate_spec_xml.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
# Replace hardcoded paths with dynamic paths using paths.py functions
3333
DEFAULT_CHIP_ROOT = get_chip_root()
34-
DEFAULT_OUTPUT_DIR_1_3 = get_data_model_path(Branch.V1_3)
34+
DEFAULT_OUTPUT_DIR_1_4 = get_data_model_path(Branch.V1_4)
3535
DEFAULT_OUTPUT_DIR_IN_PROGRESS = get_data_model_path(Branch.IN_PROGRESS)
3636
DEFAULT_OUTPUT_DIR_TOT = get_data_model_path(Branch.MASTER)
3737
DEFAULT_DOCUMENTATION_FILE = get_documentation_file_path()
@@ -82,7 +82,7 @@ def make_asciidoc(target: str, include_in_progress: str, spec_dir: str, dry_run:
8282
type=click.Choice(['All', 'None', 'Current']), default='All')
8383
def main(scraper, spec_root, output_dir, dry_run, include_in_progress):
8484
if not output_dir:
85-
output_dir_map = {'All': DEFAULT_OUTPUT_DIR_TOT, 'None': DEFAULT_OUTPUT_DIR_1_3, 'Current': DEFAULT_OUTPUT_DIR_IN_PROGRESS}
85+
output_dir_map = {'All': DEFAULT_OUTPUT_DIR_TOT, 'None': DEFAULT_OUTPUT_DIR_1_4, 'Current': DEFAULT_OUTPUT_DIR_IN_PROGRESS}
8686
output_dir = output_dir_map[include_in_progress]
8787
scrape_clusters(scraper, spec_root, output_dir, dry_run, include_in_progress)
8888
scrape_device_types(scraper, spec_root, output_dir, dry_run, include_in_progress)

0 commit comments

Comments
 (0)