You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
HTML5: Handle GODOT_VERSION_STATUS env var in @GODOT_VERSION@
Follow-up to #51002.
(cherry picked from commit 16f49d4b29)
This commit is contained in:
@@ -24,7 +24,10 @@ def get_build_version():
|
|||||||
v = "%d.%d" % (version.major, version.minor)
|
v = "%d.%d" % (version.major, version.minor)
|
||||||
if version.patch > 0:
|
if version.patch > 0:
|
||||||
v += ".%d" % version.patch
|
v += ".%d" % version.patch
|
||||||
v += ".%s.%s" % (version.status, name)
|
status = version.status
|
||||||
|
if os.getenv("GODOT_VERSION_STATUS") != None:
|
||||||
|
status = str(os.getenv("GODOT_VERSION_STATUS"))
|
||||||
|
v += ".%s.%s" % (status, name)
|
||||||
return v
|
return v
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user