CI: Fix greping variable
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -1514,7 +1514,7 @@ jobs:
|
||||
upload_path="${{secrets.RELEASES_PATH}}/"
|
||||
else
|
||||
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}/"
|
||||
else
|
||||
distro_name=$(echo "${distro}" | cut -d '-' -f 1)
|
||||
|
||||
Reference in New Issue
Block a user