From 3ab1fa500aad7d1baa00fb576bacce4d9eb0426b Mon Sep 17 00:00:00 2001 From: augushong Date: Tue, 11 Mar 2025 10:59:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=89=88=E6=9C=AC=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=94=9F=E6=88=90markdown=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extend/base/common/command/admin/VersionBase.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); } }