Updated the target path for build file

This commit is contained in:
Morgan Pretty 2024-02-07 17:04:00 +11:00
parent 1f4dd6f3df
commit 909e6e0207

View File

@ -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