2023-09-26 07:20:19 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# This is building the bundle RetroDECK.flatpak after the download and build steps are done
|
|
|
|
|
2023-11-16 11:29:09 +00:00
|
|
|
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
|
2024-05-03 20:29:06 +00:00
|
|
|
sha256sum RetroDECK.flatpak > RetroDECK.flatpak.sha
|
2023-09-30 09:02:35 +00:00
|
|
|
else
|
2023-12-21 12:43:35 +00:00
|
|
|
flatpak build-bundle "${GITHUB_WORKSPACE}/.local" "$GITHUB_WORKSPACE/RetroDECK-cooker.flatpak" net.retrodeck.retrodeck
|
2024-05-03 20:29:06 +00:00
|
|
|
sha256sum RetroDECK-cooker.flatpak > RetroDECK-cooker.flatpak.sha
|
2023-11-16 11:29:09 +00:00
|
|
|
fi
|