From 759edeea305803c8a38851d8707f9e173dc4e938 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 16 Nov 2023 12:29:09 +0100 Subject: [PATCH] Revert "Update flatpak_build_bundle.sh" --- automation_tools/flatpak_build_bundle.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/automation_tools/flatpak_build_bundle.sh b/automation_tools/flatpak_build_bundle.sh index 0ad6ea4f..cef69eff 100755 --- a/automation_tools/flatpak_build_bundle.sh +++ b/automation_tools/flatpak_build_bundle.sh @@ -2,10 +2,8 @@ # This is building the bundle RetroDECK.flatpak after the download and build steps are done -if [[ "${GITHUB_REF##*/}" == "main" ]]; then - flatpak = "RetroDECK.flatpak" +if [ "${GITHUB_REF##*/}" = "main" ]; then + flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck else - flatpak = "RetroDECK-cooker.flatpak" -fi - -flatpak build-bundle "${GITHUB_WORKSPACE}/local" "${flatpak}" net.retrodeck.retrodeck + flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK-cooker.flatpak net.retrodeck.retrodeck +fi \ No newline at end of file