mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
Update flatpak_build_bundle.sh
Bash should always use double brackets, not single. Also, moved to using a variable rather than the same command multiple times - this pattern helps to reduce errors in the future
This commit is contained in:
parent
c5abfe431c
commit
b4c057170d
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue