From e201505dca302c5214ae4014ecc953345d9e82dc Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Wed, 25 Mar 2020 13:49:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96git=5Fpull.sh=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=EF=BC=9A=E8=87=AA=E5=8A=A8=E6=8B=89=E5=8F=96=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E4=BB=A3=E7=A0=81=EF=BC=8C=E7=84=B6=E5=90=8E=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E8=BE=85=E7=A7=8D=E8=84=9A=E6=9C=AC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AutoReseed.php | 2 +- git_pull.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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