diff --git a/RELEASE.md b/RELEASE.md index 1269d87e..e5f95a7f 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1 +1,2 @@ -- 自动刷新Token有效期 \ No newline at end of file +- 修复部分UI错误 +- 修复节点列表返回数据 \ No newline at end of file diff --git a/build.bat b/build.bat index 677bde60..627a6cbc 100644 --- a/build.bat +++ b/build.bat @@ -18,23 +18,14 @@ CALL :build freebsd arm64 CALL :build linux 386 CALL :build linux amd64 CALL :build linux arm64 -CALL :build linux mips -CALL :build linux mipsle -CALL :build linux mips64 -CALL :build linux mips64le -CALL :build linux ppc64 CALL :build linux ppc64le CALL :build linux s390x -CALL :build netbsd 386 CALL :build netbsd amd64 -CALL :build netbsd arm64 -CALL :build openbsd 386 CALL :build openbsd amd64 CALL :build openbsd arm64 -CALL :build windows 386 CALL :build windows amd64 CALL :build windows arm64 diff --git a/build.sh b/build.sh index ce8910ee..15e66b61 100644 --- a/build.sh +++ b/build.sh @@ -20,6 +20,14 @@ build() { #################################################################### +releases_url=https://api.github.com/repos/opentdp/tdp-cloud-ui/releases/latest +download_url=`wget -qO- $releases_url | grep releases/download | cut -f4 -d "\""` + +wget -O cloud-ui.tar.gz $download_url +tar xvf cloud-ui.tar.gz --strip-components 2 -C front + +#################################################################### + build android arm64 build darwin amd64 @@ -32,23 +40,14 @@ build freebsd arm64 build linux 386 build linux amd64 build linux arm64 -build linux mips -build linux mipsle -build linux mips64 -build linux mips64le -build linux ppc64 build linux ppc64le build linux s390x -build netbsd 386 build netbsd amd64 -build netbsd arm64 -build openbsd 386 build openbsd amd64 build openbsd arm64 -build windows 386 build windows amd64 build windows arm64