mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
b4c057170d
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
12 lines
321 B
Bash
Executable file
12 lines
321 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# This is building the bundle RetroDECK.flatpak after the download and build steps are done
|
|
|
|
if [[ "${GITHUB_REF##*/}" == "main" ]]; then
|
|
flatpak = "RetroDECK.flatpak"
|
|
else
|
|
flatpak = "RetroDECK-cooker.flatpak"
|
|
fi
|
|
|
|
flatpak build-bundle "${GITHUB_WORKSPACE}/local" "${flatpak}" net.retrodeck.retrodeck
|