diff --git a/src/core.gd b/src/core.gd index 197fd70..b642365 100644 --- a/src/core.gd +++ b/src/core.gd @@ -29,6 +29,8 @@ const version_version: int = 1 const version_type: CoreTypes.VersionType = CoreTypes.VersionType.RELEASE ## The version type number. Resets on every new version and version type. const version_typerelease: int = 1 +## The fork indicator. Update this if you intend on soft or hard forking this framework. +const version_fork: String = "" # Modules ## Used internally for loading, managing and unloading modules. @@ -360,6 +362,7 @@ func get_formatted_string(string: String) -> String: # Version strings string = string.replace("%version%", str(version_version)) string = string.replace("%version_typerelease%", str(version_typerelease)) + string = string.replace("%version_fork%", "" if version_fork == "" else "-" + version_fork) var semantic_version: Array[int] = get_version_semantic() string = string.replace("%version_semantic%", str(semantic_version[0]) + "." + str(semantic_version[1]) + "." + str(semantic_version[2])) match(version_type):