CI: Fix source upload path

This commit is contained in:
Jonas Kvinge
2024-09-17 23:15:01 +02:00
parent 6d68f7f008
commit f11de5bfc2

View File

@@ -1499,7 +1499,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 "$i" | grep '-' || true)" = "" ]; then if [ -z "$(echo "${distro}" | 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)