diff --git a/.github/workflows/renovate-app-version.sh b/.github/workflows/renovate-app-version.sh index 4293f618..a868ff2b 100644 --- a/.github/workflows/renovate-app-version.sh +++ b/.github/workflows/renovate-app-version.sh @@ -36,7 +36,7 @@ process_image() { fi # Match number version - number_version=$(echo "$trimmed_version" | grep -oE '[0-9]+(\.[0-9]+){0,3}$') + number_version=$(echo "$trimmed_version" | grep -oE '[0-9]+(\.[0-9]+){0,3}' | head -n1) if [[ -n "$number_version" ]]; then cleaned_version=$number_version echo "Number version: $number_version"