Skip to content

Conversation

@aholkner
Copy link

@aholkner aholkner commented Oct 7, 2025

  • Inconsistency between CTX.build_output_path and CTX.build_path meant that the option was being ignored
  • Absolute path needs to be resolved before changing directory for tar

(this replaces a previous PR with the same description which missed some files in the commit)

- Inconsistency between CTX.build_output_path and CTX.build_path meant that the option was being ignored
- Absolute path needs to be resolved before changing directory for tar
argument_parser.add_argument("-c", "--codesign-identity", dest="codesign_identity", default=str(), help=f"Signs compiled native libraries with provided code signing identity hash or prompts the user to select from a list of identities on the system when {CodeSignActionID.PROMPT} is passed.")
argument_parser.add_argument("-u", "--unity-installation-root", dest="unity_installation_root", default="", help="Root path to search for Unity installations when building tests. Note: performs a full recursive search of the given directory.")
argument_parser.add_argument("-o", "--output-path", dest="output_path", default=CTX.build_output_path, help=f"Build result path for final packages. Default: {CTX.build_output_path}")
argument_parser.add_argument("-o", "--output-path", dest="output_path", default=CTX.build_path, help=f"Build result path for final packages. Default: {CTX.build_path}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likely we would want this to be as close to the argument name as possible. Should use "output_path" instead of "build_path" as the property on CTX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants