mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-06-02 15:05:24 +00:00
优化git_pull.sh脚本:自动拉取最新代码,然后执行辅种脚本。
This commit is contained in:
parent
e02d32b129
commit
e201505dca
@ -13,7 +13,7 @@ use IYUU\Library\Table;
|
|||||||
class AutoReseed
|
class AutoReseed
|
||||||
{
|
{
|
||||||
// 版本号
|
// 版本号
|
||||||
const VER = '1.7.1';
|
const VER = '1.7.2';
|
||||||
// RPC连接
|
// RPC连接
|
||||||
private static $links = [];
|
private static $links = [];
|
||||||
// 客户端配置
|
// 客户端配置
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#脚本功能:从git拉取最新代码,然后执行辅种
|
||||||
|
cd $(dirname $0)
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
git pull
|
git pull
|
||||||
|
php ./iyuu.php
|
Loading…
x
Reference in New Issue
Block a user