mirror of https://github.com/Xhofe/alist
fix: version print of build script [skip ci]
parent
1c22fc367e
commit
55aa8ee3b1
3
build.sh
3
build.sh
|
@ -12,7 +12,8 @@ else
|
||||||
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')
|
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
|
fi
|
||||||
|
|
||||||
echo "build version: $gitTag"
|
echo "backend version: $version"
|
||||||
|
echo "frontend version: $webVersion"
|
||||||
|
|
||||||
ldflags="\
|
ldflags="\
|
||||||
-w -s \
|
-w -s \
|
||||||
|
|
Loading…
Reference in New Issue