SCons: Fix info message when defining `GODOT_VERSION_STATUS`
(cherry picked from commit e92ba89dc7
)
This commit is contained in:
parent
6b15d9a435
commit
54084ac70d
|
@ -77,7 +77,7 @@ def update_version(module_version_string=""):
|
||||||
godot_status = str(version.status)
|
godot_status = str(version.status)
|
||||||
if os.getenv("GODOT_VERSION_STATUS") != None:
|
if os.getenv("GODOT_VERSION_STATUS") != None:
|
||||||
godot_status = str(os.getenv("GODOT_VERSION_STATUS"))
|
godot_status = str(os.getenv("GODOT_VERSION_STATUS"))
|
||||||
print("Using version status '%s', overriding the original '%s'.".format(godot_status, str(version.status)))
|
print("Using version status '{}', overriding the original '{}'.".format(godot_status, str(version.status)))
|
||||||
f.write('#define VERSION_STATUS "' + godot_status + '"\n')
|
f.write('#define VERSION_STATUS "' + godot_status + '"\n')
|
||||||
f.write('#define VERSION_BUILD "' + str(build_name) + '"\n')
|
f.write('#define VERSION_BUILD "' + str(build_name) + '"\n')
|
||||||
f.write('#define VERSION_MODULE_CONFIG "' + str(version.module_config) + module_version_string + '"\n')
|
f.write('#define VERSION_MODULE_CONFIG "' + str(version.module_config) + module_version_string + '"\n')
|
||||||
|
|
Loading…
Reference in New Issue