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

Adjust Godot version detection regex #526

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

mlsvrts
Copy link
Contributor

@mlsvrts mlsvrts commented Nov 12, 2023

The previous version detection would fail to detect some versions of godot (e.g 4.1.1.stable.mono.official.bd6af8e0e), resulting in an unclear error message. This commit makes a minor change to slightly improve the robustness of the version detection regex.

With this change I can run and debug my project with godot 4.1.1, and breakpoints even work 😄

The previous version detection would fail to detect some versions of godot
(e.g 4.1.1.stable.mono.official.bd6af8e0e), resulting in an unclear
error message. This commit makes a minor change to slightly improve the
robustness of the version detection regex.

Signed-off-by: mlsvrts <mlsvrts@protonmail.com>
@DaelonSuzuka
Copy link
Collaborator

Thanks for catching that, and congrats on your first contribution!

@mlsvrts
Copy link
Contributor Author

mlsvrts commented Nov 12, 2023

Thanks for catching that, and congrats on your first contribution!

No problem! I was very happy to find that, besides this small issue, the debugger upgrade has made Godot 4 debugging integration very painless; thanks for your work on it!

@DaelonSuzuka DaelonSuzuka changed the title Tweak the godot version detection regex Adjust Godot version detection regex Nov 12, 2023
@DaelonSuzuka DaelonSuzuka merged commit f65033c into godotengine:master Nov 12, 2023
1 check passed
@DaelonSuzuka
Copy link
Collaborator

the debugger upgrade has made Godot 4 debugging integration very painless; thanks for your work on it!

That's great to hear! There's more work to do, but it should way more stable and reliable than before.

@mlsvrts mlsvrts deleted the fixup-godot-version-regex branch November 15, 2023 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants