Make push_nupkgs_local absolute

Ensures the `push_nupkgs_local` argument in build_assemblies.py is an
absolute path so the argument can be
given as a relative path and it will be converted.
This commit is contained in:
Raul Santos 2022-09-16 10:08:05 +02:00
parent c2babb6558
commit ba0e7622cd
No known key found for this signature in database
GPG key ID: B532473AE3A803E4

View file

@ -315,6 +315,8 @@ def main():
output_dir = os.path.abspath(args.godot_output_dir) output_dir = os.path.abspath(args.godot_output_dir)
push_nupkgs_local = os.path.abspath(args.push_nupkgs_local) if args.push_nupkgs_local else None
msbuild_tool = find_any_msbuild_tool(args.mono_prefix) msbuild_tool = find_any_msbuild_tool(args.mono_prefix)
if msbuild_tool is None: if msbuild_tool is None:
@ -327,7 +329,7 @@ def main():
output_dir, output_dir,
args.godot_platform, args.godot_platform,
args.dev_debug, args.dev_debug,
args.push_nupkgs_local, push_nupkgs_local,
args.float, args.float,
) )
sys.exit(exit_code) sys.exit(exit_code)