mirror of https://github.com/Xhofe/alist
parent
63569be41d
commit
92fba9a2bf
2
build.sh
2
build.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue