Revert "Update flatpak_build_bundle.sh"

This commit is contained in:
XargonWan 2023-11-16 12:29:09 +01:00 committed by GitHub
parent a5b7e8e484
commit 759edeea30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK-cooker.flatpak net.retrodeck.retrodeck
fi
flatpak build-bundle "${GITHUB_WORKSPACE}/local" "${flatpak}" net.retrodeck.retrodeck