Tweak to ensure best match is picked up.

master
Beq 2023-06-27 17:26:33 +01:00
parent 9b7df1dbd2
commit 783d59fcd5
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ jobs:
fi
function find_most_recent_bundle() {
local pattern="$1-.*$2[-_]+.*"
local most_recent_file=$(ls -t "${{ github.workspace }}" | grep "$pattern" | head -1)
local most_recent_file=$(ls -t "${{ github.workspace }}" | egrep "$pattern" | head -1)
if [ -z "$most_recent_file" ]; then
echo ""
else