From 9e69b2aaa3128c600a232a3f085fd02b43ad7cc5 Mon Sep 17 00:00:00 2001 From: Suyunjing <69945917+Suyunmeng@users.noreply.github.com> Date: Tue, 24 Jun 2025 00:26:52 +0800 Subject: [PATCH] fix(ci):fixed webversion (#332) fix(ci):fixed webversion bugs Signed-off-by: Suyunjing <69945917+Suyunmeng@users.noreply.github.com> --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 2d5fde06..c1c641dd 100644 --- a/build.sh +++ b/build.sh @@ -21,7 +21,7 @@ else git tag -d beta || true # Always true if there's no tag version=$(git describe --abbrev=0 --tags 2>/dev/null || echo "v0.0.0") - webVersion=$(curl -fsSL --max-time 2 $githubAuthHeader $githubAuthValue "https://api.github.com/repos/OpenListTeam/OpenList-Frontend/releases/latest" | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g') + webVersion=$(curl -fsSL --max-time 2 $githubAuthHeader $githubAuthValue "https://api.github.com/repos/OpenListTeam/OpenList-Frontend/releases/latest" | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g;s/^v//') fi echo "backend version: $version"