Skip to content

Commit f70b56e

Browse files
committed
docs(docs): update docs
1 parent 3cd2939 commit f70b56e

13 files changed

Lines changed: 1153 additions & 279 deletions

File tree

CHANGELOG.json

Lines changed: 716 additions & 243 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,48 @@
11
# Changelog
22

3-
## 0.5.3 (2020-04-10)
3+
## 0.5.11 (2020-08-02)
4+
5+
### Documentation
6+
7+
- **docs**: update docs ([429a89a2](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/429a89a2dad1f9a9cd6c7b13baa8417fce19d261))
8+
9+
10+
### Styles
11+
12+
- **editorconfig**: update .editorconfig, disable .mustache file indent ([bdb1a120](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/bdb1a120243429a17866e6c333a1ab54ca5d216c))
13+
14+
15+
### Chores
16+
17+
- **deps**: bump `semantic-gitlog` to `0.5.11` ([fe397c82](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/fe397c820b10a691509600aa82b3f981d15aa49e))
18+
- **deps**: bump com.gradle.plugin-publish from 0.11.0 to 0.12.0 ([423a1b53](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/423a1b539c7c0e05771fc5685ba97dac49f96bcc))
19+
- **deps**: bump io.freefair.lombok from 4.1.6 to 5.1.0 ([c1733857](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/c1733857d93e20622cf7aa73f99734685712aec8))
20+
- **deps**: bump team.yi.semantic-gitlog from 0.5.0 to 0.5.3 ([2b523478](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/2b523478bf7674d834db4ac0b6f01895da5a28d5))
21+
- **deps**: bump junit-jupiter from 5.6.1 to 5.6.2 ([5839b561](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/5839b56129701571f8271afa121473c7660208bd))
22+
- **deps**: bump checkstyle from 8.30 to 8.35 ([b99c7f87](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/b99c7f871d302185524f3e1d5656fac4656b445e))
23+
- **deps**: bump pmd from 6.22.0 to 6.26.0 ([3cd2939f](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/3cd2939fb61046db4a0eb2cabfe5c03dffbdd3ea))
24+
25+
26+
## 0.5.3 (2020-04-16)
427

528
### Bug Fixes
629

7-
- **task/changelog**: fix configuration issues for `fileSets` under gradle-kotlin ([72b2c562](https://github.com/ymind/gradle-semantic-gitlog/commit/72b2c562333063db772bc4ac30b20519153f056d))
30+
- **task/changelog**: fix configuration issues for `fileSets` under gradle-kotlin ([72b2c562](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/72b2c562333063db772bc4ac30b20519153f056d))
831

932

1033
### Code Refactoring
1134

12-
- **model**: remove lombok annotations from `FileSet` ([2b381fe2](https://github.com/ymind/gradle-semantic-gitlog/commit/2b381fe2ad07532c06e239c2ab0cda613b736e0b))
35+
- **model**: remove lombok annotations from `FileSet` ([2b381fe2](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/2b381fe2ad07532c06e239c2ab0cda613b736e0b))
1336

1437

1538
### Chores
1639

17-
- **deps**: bumped `team.yi.semantic-gitlog` version to `0.5.0` ([59fadf61](https://github.com/ymind/gradle-semantic-gitlog/commit/59fadf616d1d86abbf1da954819438dd2b7ed7f7))
40+
- **deps**: bumped `team.yi.semantic-gitlog` version to `0.5.0` ([59fadf61](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/59fadf616d1d86abbf1da954819438dd2b7ed7f7))
1841

1942

2043
## 0.5.0 (2020-03-28)
2144

2245
### Features
2346

24-
- **task/changelog**: implement primary features and challenges ([d950193d](https://github.com/ymind/gradle-semantic-gitlog/commit/d950193d1249573fe78cb42182eb15699b96d72c))
47+
- **task/changelog**: implement primary features and challenges ([d950193d](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/d950193d1249573fe78cb42182eb15699b96d72c))
2548

CHANGELOG.zh-cn.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,48 @@
11
# 更新日志
22

3-
## 0.5.3 (2020-04-10)
3+
## 0.5.11 (2020-08-02)
4+
5+
### Documentation
6+
7+
- **文档**: 更新说明文档 ([429a89a2](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/429a89a2dad1f9a9cd6c7b13baa8417fce19d261))
8+
9+
10+
### Styles
11+
12+
- ****: update .editorconfig, disable .mustache file indent ([bdb1a120](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/bdb1a120243429a17866e6c333a1ab54ca5d216c))
13+
14+
15+
### Chores
16+
17+
- **依赖项**: 更新 `semantic-gitlog``0.5.11` ([fe397c82](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/fe397c820b10a691509600aa82b3f981d15aa49e))
18+
- **依赖项**: bump com.gradle.plugin-publish from 0.11.0 to 0.12.0 ([423a1b53](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/423a1b539c7c0e05771fc5685ba97dac49f96bcc))
19+
- **依赖项**: bump io.freefair.lombok from 4.1.6 to 5.1.0 ([c1733857](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/c1733857d93e20622cf7aa73f99734685712aec8))
20+
- **依赖项**: bump team.yi.semantic-gitlog from 0.5.0 to 0.5.3 ([2b523478](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/2b523478bf7674d834db4ac0b6f01895da5a28d5))
21+
- **依赖项**: bump junit-jupiter from 5.6.1 to 5.6.2 ([5839b561](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/5839b56129701571f8271afa121473c7660208bd))
22+
- **依赖项**: bump checkstyle from 8.30 to 8.35 ([b99c7f87](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/b99c7f871d302185524f3e1d5656fac4656b445e))
23+
- **依赖项**: bump pmd from 6.22.0 to 6.26.0 ([3cd2939f](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/3cd2939fb61046db4a0eb2cabfe5c03dffbdd3ea))
24+
25+
26+
## 0.5.3 (2020-04-16)
427

528
### Bug Fixes
629

7-
- **任务/日志生成**: 修复 gradle-kotlin 下的 `fileSets` 配置问题 ([72b2c562](https://github.com/ymind/gradle-semantic-gitlog/commit/72b2c562333063db772bc4ac30b20519153f056d))
30+
- **任务/日志生成**: 修复 gradle-kotlin 下的 `fileSets` 配置问题 ([72b2c562](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/72b2c562333063db772bc4ac30b20519153f056d))
831

932

1033
### Code Refactoring
1134

12-
- **模型**: 剔除 `FileSet` 的 lombok 注解 ([2b381fe2](https://github.com/ymind/gradle-semantic-gitlog/commit/2b381fe2ad07532c06e239c2ab0cda613b736e0b))
35+
- **模型**: 剔除 `FileSet` 的 lombok 注解 ([2b381fe2](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/2b381fe2ad07532c06e239c2ab0cda613b736e0b))
1336

1437

1538
### Chores
1639

17-
- **依赖项**: 更新 `team.yi.semantic-gitlog` 版本至 `0.5.0` ([59fadf61](https://github.com/ymind/gradle-semantic-gitlog/commit/59fadf616d1d86abbf1da954819438dd2b7ed7f7))
40+
- **依赖项**: 更新 `team.yi.semantic-gitlog` 版本至 `0.5.0` ([59fadf61](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/59fadf616d1d86abbf1da954819438dd2b7ed7f7))
1841

1942

2043
## 0.5.0 (2020-03-28)
2144

2245
### Features
2346

24-
- **任务/日志生成**: 实现主要功能 ([d950193d](https://github.com/ymind/gradle-semantic-gitlog/commit/d950193d1249573fe78cb42182eb15699b96d72c))
47+
- **任务/日志生成**: 实现主要功能 ([d950193d](https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/d950193d1249573fe78cb42182eb15699b96d72c))
2548

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://github.com/semantic-gitlog/semantic-gitlog/workflows/gradle-semantic-gitlog/badge.svg?branch=master)](https://github.com/semantic-gitlog/gradle-semantic-gitlog/actions)
1+
[![Build Status](https://github.com/semantic-gitlog/gradle-semantic-gitlog/workflows/gradle-semantic-gitlog/badge.svg?branch=master)](https://github.com/semantic-gitlog/gradle-semantic-gitlog/actions)
22
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/semantic-gitlog/gradle-semantic-gitlog)](https://github.com/semantic-gitlog/gradle-semantic-gitlog/releases)
33
[![Maven Central](https://img.shields.io/maven-central/v/team.yi.gradle.plugin/gradle-semantic-gitlog)](https://search.maven.org/artifact/team.yi.gradle.plugin/gradle-semantic-gitlog)
44
[![Semantic Versioning 2.0.0](https://img.shields.io/badge/Semantic%20Versioning-2.0.0-brightgreen)](https://semver.org/)

build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ signing {
188188
sign publishing.publications.mavenJava
189189
}
190190

191-
// ./gradlew setVersion -P newVersion=2.1.3
192-
task setVersion {
191+
// ./gradlew setNewVersion -P newVersion=2.1.3
192+
task setNewVersion {
193193
println version
194194

195195
if (project.hasProperty('newVersion')) {
@@ -202,9 +202,7 @@ task setVersion {
202202
}
203203

204204
changelog {
205-
toRef = "dev"
206-
isUnstable = true
207-
preRelease = 'SNAPSHOT'
205+
toRef = "master"
208206

209207
jsonFile = file("${rootDir}/CHANGELOG.json")
210208
fileSets = [
@@ -228,12 +226,12 @@ changelog {
228226
issueUrlTemplate = "https://github.com/semantic-gitlog/gradle-semantic-gitlog/issues/:issueId"
229227
commitUrlTemplate = "https://github.com/semantic-gitlog/gradle-semantic-gitlog/commit/:commitId"
230228
mentionUrlTemplate = "https://github.com/:username"
229+
230+
outputs.upToDateWhen { false }
231231
}
232232

233233
derive {
234-
toRef = "dev"
235-
isUnstable = true
236-
preRelease = 'SNAPSHOT'
234+
toRef = "master"
237235
derivedVersionMark = "NEXT_VERSION:=="
238236

239237
commitLocales = [
@@ -244,4 +242,6 @@ derive {
244242
"en" : file("${rootDir}/config/gitlog/commit-scopes.md"),
245243
"zh-cn": file("${rootDir}/config/gitlog/commit-scopes.zh-cn.md")
246244
]
245+
246+
outputs.upToDateWhen { false }
247247
}

config/gitlog/CHANGELOG.md.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22
{{#tags}}
33

4-
{{#version}}## {{version}} ({{#releaseDate}}{{#formatDate}}{{releaseDate}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}{{^releaseDate}}{{#formatDate}}{{now}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}){{/version}}{{^version}}## {{nextVersion}} (Unreleased, {{#releaseDate}}{{#formatDate}}{{releaseDate}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}{{^releaseDate}}{{#formatDate}}{{now}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}){{/version}}
4+
{{#version}}## {{version}} ({{#releaseDate}}{{#formatDate}}{{releaseDate}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}{{^releaseDate}}{{#formatDate}}{{now}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}){{/version}}{{^version}}## {{nextVersion}} ({{#releaseDate}}{{#formatDate}}{{releaseDate}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}{{^releaseDate}}{{#formatDate}}{{now}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}){{/version}}
55
{{#sections}}
66

77
### {{title}}

config/gitlog/CHANGELOG.zh-cn.md.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 更新日志
22
{{#tags}}
33

4-
{{#version}}## {{version}} ({{#releaseDate}}{{#formatDate}}{{releaseDate}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}{{^releaseDate}}{{#formatDate}}{{now}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}){{/version}}{{^version}}## {{nextVersion}} (Unreleased, {{#releaseDate}}{{#formatDate}}{{releaseDate}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}{{^releaseDate}}{{#formatDate}}{{now}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}){{/version}}
4+
{{#version}}## {{version}} ({{#releaseDate}}{{#formatDate}}{{releaseDate}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}{{^releaseDate}}{{#formatDate}}{{now}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}){{/version}}{{^version}}## {{nextVersion}} ({{#releaseDate}}{{#formatDate}}{{releaseDate}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}{{^releaseDate}}{{#formatDate}}{{now}}|yyyy-MM-dd{{/formatDate}}{{/releaseDate}}){{/version}}
55
{{#sections}}
66

77
### {{title}}

0 commit comments

Comments
 (0)