Skip to content

Commit 6b5d405

Browse files
YouAlliotTech
authored andcommitted
fix: update web version source in build script
- Changed the API endpoint in build.sh to fetch the latest web version from the AlliotTech repository instead of alist-org.
1 parent 67943fe commit 6b5d405

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ elif [ "$1" = "beta" ]; then
1212
else
1313
git tag -d beta
1414
version=$(git describe --abbrev=0 --tags)
15-
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')
15+
webVersion=$(wget -qO- -t1 -T2 "https://api.github.com/repos/AlliotTech/openalist-web/releases/latest" | grep "tag_name" | head -n 1 | awk -F ":" '{print $2}' | sed 's/\"//g;s/,//g;s/ //g')
1616
fi
1717

1818
echo "backend version: $version"

0 commit comments

Comments
 (0)