From 62d001b0fa209f259440e160503dc5ffe5bcaa8f Mon Sep 17 00:00:00 2001 From: Hop311 Date: Fri, 21 Jul 2023 00:26:31 +0100 Subject: Tidying: missing req comments, submodules, hotkeys --- game/addons/openvic-plugin/ReleaseExportEditorPlugin.gd | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'game/addons/openvic-plugin/ReleaseExportEditorPlugin.gd') diff --git a/game/addons/openvic-plugin/ReleaseExportEditorPlugin.gd b/game/addons/openvic-plugin/ReleaseExportEditorPlugin.gd index 5deb761..0d7731b 100644 --- a/game/addons/openvic-plugin/ReleaseExportEditorPlugin.gd +++ b/game/addons/openvic-plugin/ReleaseExportEditorPlugin.gd @@ -25,6 +25,8 @@ func _export_file(path: String, type: String, features: PackedStringArray) -> vo # Based on # https://github.com/godotengine/godot/blob/6ef2f358c741c993b5cdc9680489e2c4f5da25cc/methods.py#L102-L133 +# REQUIREMENTS: +# * UIFUN-298 var _cached_hash : StringName = &"" func _get_commit_hash() -> StringName: if not _cached_hash.is_empty(): return _cached_hash @@ -68,6 +70,8 @@ func _get_commit_hash() -> StringName: return git_hash +# REQUIREMENTS: +# * UIFUN-296 func _try_get_tag() -> StringName: var result : StringName = OS.get_environment("OPENVIC_TAG") if result.is_empty(): @@ -84,6 +88,8 @@ func _get_commit_long(): _repo_hash = result print("Hash: " + _repo_hash) +# REQUIREMENTS: +# * UIFUN-300 func _get_commit_short(): var result := _get_commit_hash().substr(0,7) if not result.is_empty(): @@ -96,6 +102,8 @@ func _get_tag(): _repo_tag = result print("Tag: " + _repo_tag) +# REQUIREMENTS: +# * UIFUN-295 func _get_release_name(): var result : StringName = OS.get_environment("OPENVIC_RELEASE") if result.is_empty(): -- cgit v1.2.3-56-ga3b1