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