From 8595bf3d791bea10e9114f2d0d058a2955c5e27e Mon Sep 17 00:00:00 2001 From: Andy Hsu Date: Sun, 8 Sep 2024 12:16:26 +0800 Subject: [PATCH] fix: replace release version --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 110b6dc6a..2cf78eaa2 100644 --- a/release.sh +++ b/release.sh @@ -1,7 +1,7 @@ # replace version cd alist-web version=$(git describe --abbrev=0 --tags) -sed -i -e "s/0.0.0/$version/g" package.json +sed -i -e "s/\"version\": \"0.0.0\"/\"version\": \"$version\"/g" package.json cat package.json # build