Skip to content

Commit

Permalink
fix: release version (close #7182)
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe authored Sep 16, 2024
1 parent f06d2c0 commit b645145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ if [ "$1" = "dev" ]; then
version="dev"
webVersion="dev"
else
git tag -d beta
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
Expand Down

0 comments on commit b645145

Please sign in to comment.