mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 04:06:14 +00:00
Move YEAR definition to version.py
If it needs to be hardcoded (for the sake of reproducible builds), it should be together with the other hardcoded version info. And yeah, two months in, let's move to 2019.
This commit is contained in:
parent
6492de800f
commit
195c5e0925
@ -55,7 +55,7 @@ def update_version(module_version_string=""):
|
||||
f.write("#define VERSION_STATUS \"" + str(version.status) + "\"\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_YEAR " + str(2018) + "\n")
|
||||
f.write("#define VERSION_YEAR " + str(version.year) + "\n")
|
||||
f.close()
|
||||
|
||||
# NOTE: It is safe to generate this file here, since this is still executed serially
|
||||
|
@ -4,3 +4,4 @@ major = 3
|
||||
minor = 1
|
||||
status = "beta"
|
||||
module_config = ""
|
||||
year = 2019
|
||||
|
Loading…
Reference in New Issue
Block a user