Skip to content

Commit

Permalink
fix: version print of build script [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Oct 12, 2022
1 parent 1c22fc3 commit 55aa8ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')
fi

echo "build version: $gitTag"
echo "backend version: $version"
echo "frontend version: $webVersion"

ldflags="\
-w -s \
Expand Down

0 comments on commit 55aa8ee

Please sign in to comment.