CI: Fix greping variable

This commit is contained in:
Jonas Kvinge
2024-02-11 12:17:04 +01:00
parent 923d0f2b7a
commit 5e4b193260

View File

@@ -1514,7 +1514,7 @@ jobs:
upload_path="${{secrets.RELEASES_PATH}}/" upload_path="${{secrets.RELEASES_PATH}}/"
else else
distro=$(echo "$i" | cut -d '/' -f 2) distro=$(echo "$i" | cut -d '/' -f 2)
if [ "$(echo debian-bookworm | grep '-' || true)" = "" ]; then if [ "$(echo "$i" | grep '-' || true)" = "" ]; then
upload_path="${{secrets.BUILDS_PATH}}/${distro}/" upload_path="${{secrets.BUILDS_PATH}}/${distro}/"
else else
distro_name=$(echo "${distro}" | cut -d '-' -f 1) distro_name=$(echo "${distro}" | cut -d '-' -f 1)