mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
feat: 发布新版本
This commit is contained in:
@@ -13,7 +13,7 @@ use think\console\Output;
|
||||
|
||||
class VersionBase extends Command
|
||||
{
|
||||
public const VERSION = 'v2.0.114';
|
||||
public const VERSION = 'v2.0.115';
|
||||
|
||||
public const PRODUCT_VERSION = '';
|
||||
|
||||
@@ -21,29 +21,11 @@ class VersionBase extends Command
|
||||
|
||||
public const COMMENT = [
|
||||
'版本更新说明:',
|
||||
'【修复】',
|
||||
'- 修复登录状态监测错误',
|
||||
'【新功能】',
|
||||
'- 版本命令支持生成说明文件',
|
||||
'- 优化首页的最新修改样式',
|
||||
'- 实现token认证机制',
|
||||
'- 实现后台请求兼容接口的模式',
|
||||
'- view支持读取assign的数据',
|
||||
'- 完善demo机制;实现tab的demo和var标签的demo;',
|
||||
'- 增加var标签',
|
||||
'- 增加通用的扩展字符返回内容处理;',
|
||||
'- 当url的hash对应的tab存在时,直接打开;',
|
||||
'【重构】',
|
||||
'- 优化后台兼容接口请求的判断',
|
||||
'【其他】',
|
||||
'- 设置php时区',
|
||||
'- 增加注释',
|
||||
'- tableData增加打开页面参数;',
|
||||
'- databrage增加强制转对象参数;',
|
||||
'- 修改图片默认不搜索',
|
||||
'- 切换新版layui;增加表格多模板机制;增加local操作方法;增加页面记忆操作方法;删除多余代码;',
|
||||
'- 兼容新版layui',
|
||||
'- 引入新版layui',
|
||||
'- 开始多模版',
|
||||
'- 优化手机端表现',
|
||||
'- 支持生成发布文件',
|
||||
'- 提交tag时支持markdown格式',
|
||||
];
|
||||
|
||||
protected function configure()
|
||||
@@ -241,6 +223,7 @@ class VersionBase extends Command
|
||||
|
||||
if (empty($commits)) {
|
||||
$output->warning('从 ' . $fromTag . ' 到现在没有任何提交');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -279,7 +262,7 @@ class VersionBase extends Command
|
||||
$groupedCommits[$desc][] = [
|
||||
'message' => trim($cleanMessage),
|
||||
'hash' => $hash,
|
||||
'date' => $date
|
||||
'date' => $date,
|
||||
];
|
||||
$matched = true;
|
||||
break;
|
||||
@@ -291,7 +274,7 @@ class VersionBase extends Command
|
||||
$groupedCommits['其他'][] = [
|
||||
'message' => trim($message),
|
||||
'hash' => $hash,
|
||||
'date' => $date
|
||||
'date' => $date,
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -317,5 +300,4 @@ class VersionBase extends Command
|
||||
file_put_contents($releaseFile, $release);
|
||||
$output->info('已生成发布说明文件: ' . $releaseFile);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user