RetroDECK/automation_tools/flatpak_build_bundle.sh

9 lines
394 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# This is building the bundle RetroDECK.flatpak after the download and build steps are done
if [ "${GITHUB_REF##*/}" = "main" ]; then
2023-12-21 12:43:35 +00:00
flatpak build-bundle "${GITHUB_WORKSPACE}/.local" "$GITHUB_WORKSPACE/RetroDECK.flatpak" net.retrodeck.retrodeck
else
2023-12-21 12:43:35 +00:00
flatpak build-bundle "${GITHUB_WORKSPACE}/.local" "$GITHUB_WORKSPACE/RetroDECK-cooker.flatpak" net.retrodeck.retrodeck
fi