The Editor displays the Godot version in its About dialog using this code: version_btn->set_meta(META_TEXT_TO_COPY, "v" VERSION_FULL_BUILD + hash);
version_btn->set_meta(META_TEXT_TO_COPY, "v" VERSION_FULL_BUILD + hash);
Source file: https://github.com/godotengine/godot/blob/3.4/editor/editor_about.cpp
The constant VERSION_FULL_BUILD is defined in: https://github.com/godotengine/godot/blob/3.4/core/version.h
Is that information exposed in the API? Or would a custom C++ module be needed to get that information in a script?
Try:
Engine.get_version_info()
Thanks, I overlooked that class.