Merge pull request #558 from Gorian/patch-1

Update flatpak_build_bundle.sh
This commit is contained in:
XargonWan 2023-11-15 08:59:08 +01:00 committed by GitHub
commit a10f2913f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,10 @@
# This is building the bundle RetroDECK.flatpak after the download and build steps are done # This is building the bundle RetroDECK.flatpak after the download and build steps are done
if [ "${GITHUB_REF##*/}" = "main" ]; then if [[ "${GITHUB_REF##*/}" == "main" ]]; then
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK.flatpak net.retrodeck.retrodeck flatpak = "RetroDECK.flatpak"
else else
flatpak build-bundle ${GITHUB_WORKSPACE}/local RetroDECK-cooker.flatpak net.retrodeck.retrodeck flatpak = "RetroDECK-cooker.flatpak"
fi fi
flatpak build-bundle "${GITHUB_WORKSPACE}/local" "${flatpak}" net.retrodeck.retrodeck