From d79c3db986dce55b3c19e38dc9c2dea877f5ccad Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Fri, 18 Oct 2024 13:35:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- .github/workflows/renovate-app-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"