diff --git a/run-wrapper/update b/run-wrapper/update index 8667dc20..28041ba9 100755 --- a/run-wrapper/update +++ b/run-wrapper/update @@ -6,7 +6,7 @@ set -o pipefail SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) # 💀 -LATEST=$(curl "https://api.github.com/repos/usatiuk/dhfs/actions/runs?branch=main&status=completed&per_page=1" | tr -d "[:space:]" | sed -rn "s/.*\[\{\"id\":([0-9]*).*/\1/p") +LATEST=$(curl "https://api.github.com/repos/usatiuk/dhfs/actions/runs?branch=main&status=completed&per_page=1" | tr -d "[:space:]" | sed -n "s/.*\[{\"id\":\([0-9]*\).*/\1/p") echo Latest: $LATEST