print build version

pull/548/head
微凉 2021-11-04 18:42:27 +08:00
parent 1c56d27e20
commit 254b6c6f79
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ else
gitTag=$(git describe --abbrev=0 --tags)-next
fi
echo "build version: $gitTag"
ldflags="\
-w -s \
-X 'github.com/Xhofe/alist/conf.BuiltAt=$builtAt' \