diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md new file mode 100755 index 0000000..4903f9e --- /dev/null +++ b/.chglog/CHANGELOG.tpl.md @@ -0,0 +1,16 @@ +{{range .Versions}} + +## {{if .Tag.Previous}}[{{.Tag.Name}}]({{$.Info.RepositoryURL}}/compare/{{.Tag.Previous.Name}}...{{.Tag.Name}}){{else}}{{.Tag.Name}}{{end}} + +> {{datetime "2006-01-02" .Tag.Date}} +{{range .CommitGroups}} +### {{.Title}} +{{range .Commits}} +* {{if .Scope}}**{{.Scope}}:** {{end}}{{.Subject}}{{end}} +{{end}}{{range .NoteGroups}} +### {{.Title}} +{{range .Notes}} +{{.Body}} +{{end}} +{{end}} +{{end}} \ No newline at end of file diff --git a/.chglog/config.yml b/.chglog/config.yml new file mode 100755 index 0000000..3dfb57d --- /dev/null +++ b/.chglog/config.yml @@ -0,0 +1,28 @@ +style: github +template: CHANGELOG.tpl.md +info: + title: CHANGELOG + repository_url: https://github.com/mritd/gitflow-toolkit +options: + commits: + # filters: + # Type: + # - feat + # - fix + # - perf + # - refactor + commit_groups: + # title_maps: + # feat: Features + # fix: Bug Fixes + # perf: Performance Improvements + # refactor: Code Refactoring + header: + pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" + pattern_maps: + - Type + - Scope + - Subject + notes: + keywords: + - BREAKING CHANGE \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..cadcf98 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,85 @@ + + +## v0.0.1 + +> 2018-04-28 + +### Chore + +* **0.0.1:** 更新依赖 +* **release:** add release script + +### Docs + +* **changelog:** add changelog +* **readme:** update readme +* **readme:** update readme + +### Feat + +* **0.0.1:** 增加 mr 基础配置保存方法 +* **0.0.1:** 增加 -f 选项 +* **0.0.1:** 增加 git 项目检测、暂存区检测 +* **0.0.1:** 增加根据文件名执行功能 +* **0.0.1:** 增加 commit message 信息检测 +* **0.0.1:** 增加提交信息检测,调整文件结构 +* **0.0.1:** 增加安装命令 +* **0.0.1:** 增加安装命令 +* **0.0.1:** 尝试兼容 windows +* **0.0.1:** 移除 windows 支持 +* **0.0.1:** 增加卸载命令 +* **0.0.1:** 增加卸载命令 +* **0.0.1:** merge +* **0.0.1:** 调整 commit message 正则 +* **0.0.1:** 切换到 glide +* **0.0.1:** 更优雅的进行命令查找 +* **0.0.1:** 移动 git 相关操作 +* **0.0.1:** 增加 mr 指令 +* **0.0.1:** 更新包名 +* **0.0.1:** 增加分支创建命令 +* **0.0.1:** rename mr to xmr +* **0.0.1:** 完善 mr 逻辑 +* **0.0.1:** 卸载时增加 root 权限判断 +* **0.0.1:** 增加一些 mr 预处理方法 +* **0.0.1:** 增加获取当前仓库信息 +* **0.0.1:** 增加提交 +* **example:** 增加 example 图片 +* **gitignore:** 增加排除目录 +* **gitlab:** update gitlab +* **hotfix:** add hotfix command +* **install:** 放弃兼容 windows +* **prompt:** 支持自定义 err message +* **prompt:** 增加 select 组件 +* **prompt:** 切换 提示库 +* **prompt:** 完善提示库 +* **prompt:** 尝试增加 select 功能 +* **prompt:** 完善提示库 +* **prompt:** 调整交互库 +* **prompt:** 使用自定义 prompt +* **prompt:** update promptx +* **readline:** 更新 readline,实现屏蔽终端声音 +* **select:** 调整终端颜色 +* **subject:** 调整 subject 长度限制 +* **test:** 删除测试代码注释 + +### Fix + +* **0.0.1:** 修复子命令执行失败 +* **0.0.1:** 修复全局替换错误 +* **0.0.1:** 修复选择列表渲染 +* **0.0.1:** 增加对自动 merge 消息的兼容 +* **0.0.1:** 删除无用的配置文件初始化代码 +* **bell:** 修正回车后响铃问题 +* **ci editor:** fix ci editor exit +* **commit message:** fix commit message regular +* **os edit:** fix ci os editor + +### Perf + +* **0.0.1:** 优化代码 + +### Style + +* **0.0.1:** 格式化代码 +* **0.0.1:** format +