From 6b4b171219b4b36fbb74537444d100ecc6152f13 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 26 Sep 2023 09:08:29 +0200 Subject: [PATCH] Described some automation scripts [skip ci] --- automation_tools/appdata_management.sh | 3 +++ automation_tools/force-update-submodules.sh | 2 +- automation_tools/version_extractor.sh | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/automation_tools/appdata_management.sh b/automation_tools/appdata_management.sh index a59fdfb9..f6cdfb19 100755 --- a/automation_tools/appdata_management.sh +++ b/automation_tools/appdata_management.sh @@ -1,5 +1,8 @@ #!/bin/bash +# THIS SCRIPT IS BROKEN HENCE DISABLED FTM +# This script is getting the latest release notes from the wiki and add them to the appdata + source automation_tools/version_extractor.sh # Fetch appdata version diff --git a/automation_tools/force-update-submodules.sh b/automation_tools/force-update-submodules.sh index c0c84f46..50c249c7 100644 --- a/automation_tools/force-update-submodules.sh +++ b/automation_tools/force-update-submodules.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Don't use this script lightly +# WARNING: DANGEROUS! Don't use this script lightly git submodule deinit --all rm rd-submodules/retroarch diff --git a/automation_tools/version_extractor.sh b/automation_tools/version_extractor.sh index f324c106..b9f679ff 100755 --- a/automation_tools/version_extractor.sh +++ b/automation_tools/version_extractor.sh @@ -1,5 +1,11 @@ #!/bin/bash +# This script is intended to gather version information from various sources: +# RetroDECK repository +# Appdata.xml file +# Manifest YAML file +# It consists of three functions, each responsible for retrieving a specific version-related data. + appdata="net.retrodeck.retrodeck.appdata.xml" manifest="net.retrodeck.retrodeck.yml" manifest_content=$(cat "$manifest")