Skip to content

Commit

Permalink
优化pull和对外邮件组
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuiyong committed Mar 20, 2016
1 parent ea98e8b commit c00e19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions console/WalleController.php
Expand Up @@ -29,7 +29,7 @@ class WalleController extends Controller {
* checkout the current version 查看版本
*/
public function actionIndex() {
echo sprintf("\n\033[32mwalle-web %s (built: %s)\033[0m\nCopyright (c) 2015-2016 The walle-web Group.\nGet Help from wushuiyong@huamanshu.com. Enjoy It.\n\n",
printf("\n\033[32mwalle-web %s (built: %s)\033[0m\nCopyright (c) 2015-2016 The walle-web Group.\nGet Help from team@walle-web.io. Enjoy It.\n\n",
Yii::$app->params['version'], Yii::$app->params['buildTime']);
}

Expand All @@ -45,7 +45,7 @@ public function actionUpgrade() {
$commander->runLocalCommand('/usr/bin/env git stash save');
// pull code 更新代码
echo 'pull code 更新代码: git pull ...', PHP_EOL;
$commander->runLocalCommand('/usr/bin/env git pull');
$commander->runLocalCommand('/usr/bin/env git pull --rebase');
// stash pop local change 弹出暂存本地修改
echo 'stash pop local change 弹出暂存本地修改: git stash pop ...', PHP_EOL;
$commander->runLocalCommand('/usr/bin/env git stash pop');
Expand Down

0 comments on commit c00e19c

Please sign in to comment.