Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pre and post export setup name env variable settings #17

Conversation

AlexanderVorobyov
Copy link
Member

@AlexanderVorobyov AlexanderVorobyov commented Sep 4, 2021

  • Add BuildEditorSettingsData.PreExportSetupNameEnvironmentVariable property to define environment variable with setup name for pre export execution.
  • Add BuildEditorSettingsData.PostExportSetupNameEnvironmentVariable property to define environment variable with setup name for post export execution.
  • Add BuildEditorUtility.ExecutePreExport() and PostExport() methods used to execute setup from environment variables and specified context.
  • Change BuildEditorUtility.TryGetSetupNameFromEnvironmentVariables() and GetSetupNameFromEnvironmentVariables() methods to require environment variable name to get setup name from.
  • Fix UnityCloudBuild.PreExport() and PostExport() methods create context with Unity Cloud Build manifest included.
  • Remove BuildEditorSettingsData.SetupNameEnvironmentVariableName property, use PreExportSetupNameEnvironmentVariable and PostExportSetupNameEnvironmentVariable properties instead.
  • Remove BuildEditorUtility.Execute() method with zero arguments.
  • Remove UnityCloudBuildEditorUtility.Execute() method.

@AlexanderVorobyov
Copy link
Member Author

Linked Issue: #13.

@AlexanderVorobyov AlexanderVorobyov added the Change Mentioned in changelog under the Changed section. label Sep 4, 2021
@AlexanderVorobyov AlexanderVorobyov added this to the Unreleased milestone Sep 4, 2021
@AlexanderVorobyov AlexanderVorobyov merged commit 89f5299 into main Sep 4, 2021
@AlexanderVorobyov AlexanderVorobyov deleted the issue-13-add-pre-and-post-export-setup-name-env-variable-settings branch September 4, 2021 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Change Mentioned in changelog under the Changed section.
Projects
No open projects
Status: 30 Aug - 5 Sep 2021
Development

Successfully merging this pull request may close these issues.

1 participant