diff --git a/extend/base/common/command/admin/VersionBase.php b/extend/base/common/command/admin/VersionBase.php index d94fb56..8cc3480 100644 --- a/extend/base/common/command/admin/VersionBase.php +++ b/extend/base/common/command/admin/VersionBase.php @@ -22,6 +22,7 @@ class VersionBase extends Command public const COMMENT = [ '版本更新说明:', '【新功能】', + '- 版本命令支持生成说明文件', '- 优化首页的最新修改样式', '- 实现token认证机制', '- 实现后台请求兼容接口的模式', @@ -182,6 +183,10 @@ class VersionBase extends Command $comment_arr_code = implode("\n", $comment_arr); $tmp_comment_file = PathTools::tempBuildPath('commit_comment.php'); file_put_contents($tmp_comment_file, "output->info('已生成版本更新说明:' . $tmp_comment_file); + $this->output->info('已生成版本更新代码:' . $tmp_comment_file); + + $tmp_comment_markdown_file = PathTools::tempBuildPath('commit_comment.md'); + file_put_contents($tmp_comment_markdown_file, $comment); + $this->output->info('已生成版本更新Markdown:'. $tmp_comment_markdown_file); } }