Skip to content

Commit b55374a

Browse files
committed
chore: better changelog generation (with links to commits)
1 parent 96a4435 commit b55374a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<a name="v0.6.2"></a>
44
## [v0.6.2](https://github.com/sap/project-kb/compare/v0.6.1...v0.6.2)
55

6-
## Chores
7-
* add changelog generation script (18f675c)
8-
* update deps for update cmd (39d04cd)
6+
### Chores
7+
* add changelog generation script ([18f675c](https://github.com/sap/project-kb/commit/18f675c))
8+
* update deps for update cmd ([39d04cd](https://github.com/sap/project-kb/commit/39d04cd))
99

1010
<a name="v0.6.1"></a>
1111
## [v0.6.1](https://github.com/SAP/project-kb/compare/v0.6.0.2...v0.6.1) (2020-06-26)

scripts/changelog-gen.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ def render_changelog(log):
8686
changes_by_type[commit_types[l['type']]] = [l]
8787

8888
for t in changes_by_type:
89-
print("\n## " + t)
89+
print("\n### " + t)
9090
for c in changes_by_type[t]:
91-
print(" * " + c['msg'] + " (" + c['id'] + ")")
91+
print(" * " + c['msg'] + " ([" + c['id'] + "](https://github.com/" + project_slug + "/commit/" + c['id'] +"))")
9292

9393

9494
def main(args):

0 commit comments

Comments
 (0)