diff --git a/app/AutoReseed.php b/app/AutoReseed.php index c0cc93e..558f2ad 100644 --- a/app/AutoReseed.php +++ b/app/AutoReseed.php @@ -13,7 +13,7 @@ use IYUU\Library\Table; class AutoReseed { // 版本号 - const VER = '1.7.1'; + const VER = '1.7.2'; // RPC连接 private static $links = []; // 客户端配置 diff --git a/git_pull.sh b/git_pull.sh index 26de85f..30c3fd7 100644 --- a/git_pull.sh +++ b/git_pull.sh @@ -1,4 +1,7 @@ #!/bin/sh +#脚本功能:从git拉取最新代码,然后执行辅种 +cd $(dirname $0) git fetch --all git reset --hard origin/master git pull +php ./iyuu.php \ No newline at end of file