diff --git a/build.sh b/build.sh index 40746277..54f66033 100644 --- a/build.sh +++ b/build.sh @@ -96,7 +96,7 @@ BUILD_MUSL() { gitTag=$(git describe --long --tags --dirty --always) webTag=$(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') ldflags="\ --w -s \ +-w -s --extldflags '-static -fpic' \ -X 'github.com/Xhofe/alist/conf.BuiltAt=$builtAt' \ -X 'github.com/Xhofe/alist/conf.GoVersion=$goVersion' \ -X 'github.com/Xhofe/alist/conf.GitAuthor=$gitAuthor' \