From 909e6e020701370321fa6a4c18c1715aed732693 Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Wed, 7 Feb 2024 17:04:00 +1100 Subject: [PATCH] Updated the target path for build file --- scripts/drone-static-upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/drone-static-upload.sh b/scripts/drone-static-upload.sh index ffce9c077..b5c9ee83f 100755 --- a/scripts/drone-static-upload.sh +++ b/scripts/drone-static-upload.sh @@ -19,7 +19,7 @@ chmod 600 ssh_key # Define the output paths build_dir="app/build/outputs/apk/play/debug" -target_path=$(ls ${build_dir} | grep -o 'session-[^[:space:]]*-universal.apk') +target_path="${build_dir}/$(ls ${build_dir} | grep -o 'session-[^[:space:]]*-universal.apk')" # Validate the paths exist if [ ! -d $build_path ]; then