ci: remove commit-hash in version

pull/1628/head v3.0.0-beta.0
Noah Hsu 2022-09-09 16:48:12 +08:00
parent 63569be41d
commit 92fba9a2bf
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if [ "$1" = "dev" ]; then
version="dev"
webVersion="dev"
else
version=$(git describe --long --tags --dirty --always)
version=$(git describe --abbrev=0 --tags)
webVersion=$(wget -qO- -t1 -T2 "https://api.github.com/repos/alist-org/alist-web/releases/latest" | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g')
fi