diff --git a/automation_tools/appdata_management.sh b/automation_tools/appdata_management.sh index 072dd8ee..9eb2ba4e 100755 --- a/automation_tools/appdata_management.sh +++ b/automation_tools/appdata_management.sh @@ -40,19 +40,19 @@ release_snippet="\ xml_content=$(cat "$appdata_file") # Replace RELEASE_NOTES_PLACEHOLDER with the actual release notes -# # TODO -# git clone https://github.com/XargonWan/RetroDECK.wiki.git /tmp/wiki +# TODO +git clone https://github.com/XargonWan/RetroDECK.wiki.git /tmp/wiki -# # Path to the markdown file -# wiki="/tmp/wiki/Version-history:-Patch-Notes.md" -# # Read the markdown file until the first occurrence of "---" -# latest_version_notes="" -# while IFS= read -r line; do -# if [ "$line" = "---" ]; then -# break -# fi -# latest_version_notes+="$line\n" -# done < "$wiki" +# Path to the markdown file +wiki="/tmp/wiki/Version-history:-Patch-Notes.md" +# Read the markdown file until the first occurrence of "---" +latest_version_notes="" +while IFS= read -r line; do + if [ "$line" = "---" ]; then + break + fi + latest_version_notes+="$line\n" +done < "$wiki" # Extract the version number version_number="${latest_version_notes#*# RetroDECK }" # Remove text before "# RetroDECK " diff --git a/developer_toolbox/build_retrodeck_locally.sh b/developer_toolbox/build_retrodeck_locally.sh index 027ee01e..a5bbe028 100755 --- a/developer_toolbox/build_retrodeck_locally.sh +++ b/developer_toolbox/build_retrodeck_locally.sh @@ -17,7 +17,8 @@ automation_tools/install_dependencies.sh automation_tools/cooker_build_id.sh automation_tools/pre_build_automation.sh automation_tools/cooker_flatpak_portal_add.sh -automation_tools/appdata_management.sh +# THIS SCRIPT IS BROKEN HENCE DISABLED FTM +# automation_tools/appdata_management.sh automation_tools/flatpak_build_download_only.sh automation_tools/flatpak_build_only.sh automation_tools/flatpak_build_bundle.sh