File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ def main():
1616 pack_toml_file = repo_root / "pack" / "pack.toml"
1717 generated_dir = common .get_generated_dir ()
1818 repo_name = os .path .basename (repo_root .resolve ())
19- event_type = constants_file ["event_type" ]
19+ constants = common .jsonc_at_home (common .read_file (constants_file ))
20+ event_type = constants ["event_type" ]
2021
2122 for (url , ext ) in [
2223 [f"https://{ repo_name } .{ event_type } .pack.modgarden.net/pack.toml" , "Build" ],
@@ -26,7 +27,6 @@ def main():
2627 print (f"Generating packs for { url } " )
2728
2829 packwiz_info = common .parse_packwiz (pack_toml_file )
29- constants = common .jsonc_at_home (common .read_file (constants_file ))
3030
3131 # Create prism zip
3232 prism = generated_dir / f"{ packwiz_info .safe_name ()} -{ ext } .zip"
You can’t perform that action at this time.
0 commit comments