Skip to content

Commit 59fadf6

Browse files
committed
chore(deps): bumped team.yi.semantic-gitlog version to 0.5.0
------------ # Locales - **[zh-cn]** 更新 `team.yi.semantic-gitlog` 版本至 `0.5.0`
1 parent 72b2c56 commit 59fadf6

5 files changed

Lines changed: 24 additions & 21 deletions

File tree

build.gradle

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
id 'checkstyle'
88
id 'pmd'
99
id "io.freefair.lombok" version "4.1.6"
10-
id 'team.yi.semantic-gitlog' version '0.4.1.1'
10+
id 'team.yi.semantic-gitlog' version '0.5.0'
1111
}
1212

1313
group = 'team.yi.gradle.plugin'
@@ -200,48 +200,46 @@ task setVersion {
200200
}
201201

202202
changelog {
203-
toRef = "master"
203+
toRef = "dev"
204204
isUnstable = true
205205
preRelease = 'SNAPSHOT'
206-
lastVersion = '0.4.0'
207206

208-
jsonFile = file("${project.rootDir}/CHANGELOG.json")
207+
jsonFile = file("${rootDir}/CHANGELOG.json")
209208
fileSets = [
210209
{
211-
template = file("${project.rootDir}/config/gitlog/CHANGELOG.md.mustache")
212-
target = file("${project.rootDir}/CHANGELOG.md")
210+
template = file("${rootDir}/config/gitlog/CHANGELOG.md.mustache")
211+
target = file("${rootDir}/CHANGELOG.md")
213212
},
214213
{
215-
template = file("${project.rootDir}/config/gitlog/CHANGELOG.zh-cn.md.mustache")
216-
target = file("${project.rootDir}/CHANGELOG.zh-cn.md")
214+
template = file("${rootDir}/config/gitlog/CHANGELOG.zh-cn.md.mustache")
215+
target = file("${rootDir}/CHANGELOG.zh-cn.md")
217216
}
218217
]
219218
commitLocales = [
220-
"en" : file("${project.rootDir}/config/gitlog/commit-locales.md"),
221-
"zh-cn": file("${project.rootDir}/config/gitlog/commit-locales.zh-cn.md")
219+
"en" : file("${rootDir}/config/gitlog/commit-locales.md"),
220+
"zh-cn": file("${rootDir}/config/gitlog/commit-locales.zh-cn.md")
222221
]
223222
scopeProfiles = [
224-
"en" : file("${project.rootDir}/config/gitlog/commit-scopes.md"),
225-
"zh-cn": file("${project.rootDir}/config/gitlog/commit-scopes.zh-cn.md")
223+
"en" : file("${rootDir}/config/gitlog/commit-scopes.md"),
224+
"zh-cn": file("${rootDir}/config/gitlog/commit-scopes.zh-cn.md")
226225
]
227226
issueUrlTemplate = "https://github.com/ymind/gradle-semantic-gitlog/issues/:issueId"
228227
commitUrlTemplate = "https://github.com/ymind/gradle-semantic-gitlog/commit/:commitId"
229228
mentionUrlTemplate = "https://github.com/:username"
230229
}
231230

232231
derive {
233-
toRef = "master"
232+
toRef = "dev"
234233
isUnstable = true
235234
preRelease = 'SNAPSHOT'
236-
lastVersion = '0.4.0'
237235
derivedVersionMark = "NEXT_VERSION:=="
238236

239237
commitLocales = [
240-
"en" : file("${project.rootDir}/config/gitlog/commit-locales.md"),
241-
"zh-cn": file("${project.rootDir}/config/gitlog/commit-locales.zh-cn.md")
238+
"en" : file("${rootDir}/config/gitlog/commit-locales.md"),
239+
"zh-cn": file("${rootDir}/config/gitlog/commit-locales.zh-cn.md")
242240
]
243241
scopeProfiles = [
244-
"en" : file("${project.rootDir}/config/gitlog/commit-scopes.md"),
245-
"zh-cn": file("${project.rootDir}/config/gitlog/commit-scopes.zh-cn.md")
242+
"en" : file("${rootDir}/config/gitlog/commit-scopes.md"),
243+
"zh-cn": file("${rootDir}/config/gitlog/commit-scopes.zh-cn.md")
246244
]
247245
}

config/gitlog/commit-locales.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Previous commits
22

33
> This is useful for you to override the commit history.
4+
5+
- [d950193d] feat(task/changelog): implement primary features and challenges
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# 之前的提交
22

33
> 这对重写历史提交信息非常有用。
4+
5+
- [d950193d] feat(task/changelog): 实现主要功能

config/gitlog/commit-scopes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- **deps** External dependencies
88
- **docs** Code notes, API documentation, development guidelines, update logs, contribution guides, instructions for use, etc.
99
- **config** Project configuration information
10-
- **service** Gitlog services
1110
- **render** Gitlog renders
1211
- **model** Gitlog models
12+
- **task/changelog** Changelog generate task
13+
- **task/derive** Project semantic version derive task

config/gitlog/commit-scopes.zh-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- **deps(依赖项)** 外部依赖项。
88
- **docs(文档)**:代码注释、API文档、开发指引、更新日志、贡献指南、使用说明等。
99
- **config(配置)** 项目配置信息
10-
- **parser(解析器)**:词法解析器
11-
- **service(服务)** 服务
1210
- **render(渲染器)** 渲染器
1311
- **model(模型)** 模型
12+
- **task/changelog(任务/日志生成)** 更新日志生成任务
13+
- **task/derive(任务/版本推断)** 项目语义化版本推断任务

0 commit comments

Comments
 (0)