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