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

Fix order of operations for macOS template check #84990

Merged
merged 1 commit into from Dec 4, 2023

Conversation

brno32
Copy link
Contributor

@brno32 brno32 commented Nov 16, 2023

Potentially resolves #62873.

I'm not a mac user myself, but looks like the order of operations was just wrong. If one of the custom template configs was missing, it'd force a check for the official templates, and if not present, lead to valid = false. In the issue, the workaround of specifying both custom template configs ensured the check for the official templates wouldn't happen.

Looking at all the other platforms, they check for the official templates first, then the custom templates. Made it consistent here

@brno32 brno32 requested a review from a team as a code owner November 16, 2023 22:39
@akien-mga akien-mga added this to the 4.3 milestone Nov 17, 2023
@akien-mga akien-mga added the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Nov 17, 2023
@akien-mga akien-mga changed the title Fix order of operations for macos template check Fix order of operations for macOS template check Nov 27, 2023
@akien-mga akien-mga merged commit 57aea13 into godotengine:master Dec 4, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@brno32 brno32 deleted the macos-templates-fix branch December 4, 2023 22:56
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.2.1.

@YuriSizov YuriSizov removed the cherrypick:4.2 Considered for cherry-picking into a future 4.2.x release label Dec 5, 2023
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.

macos requires release and debug template paths for custom release exports
3 participants