File tree Expand file tree Collapse file tree 2 files changed +133
-0
lines changed Expand file tree Collapse file tree 2 files changed +133
-0
lines changed Original file line number Diff line number Diff line change 1+ # [ 0.1.1] ( https://github.com/labthings/python-labthings-client/compare/v0.1.0...v0.1.1 ) (2020-06-17)
2+
3+
4+ * Enabled scanning for multiple mDNS types ([ f3d871b] ( https://github.com/labthings/python-labthings-client/commit/f3d871b ) )
5+ * Fixed relative imports ([ a0a4b0b] ( https://github.com/labthings/python-labthings-client/commit/a0a4b0b ) )
6+ * Ignore VS Code files ([ 9c8002b] ( https://github.com/labthings/python-labthings-client/commit/9c8002b ) )
7+ * Removed debug print ([ 8f484a2] ( https://github.com/labthings/python-labthings-client/commit/8f484a2 ) )
8+ * Removed double description ([ c90d72d] ( https://github.com/labthings/python-labthings-client/commit/c90d72d ) )
9+
10+
11+ # [ 0.1.0] ( https://github.com/labthings/python-labthings-client/compare/c254d68...v0.1.0 ) (2020-05-22)
12+
13+
14+ * Create publish.yml ([ ca460b3] ( https://github.com/labthings/python-labthings-client/commit/ca460b3 ) )
15+ * Initial commit ([ ed76b0d] ( https://github.com/labthings/python-labthings-client/commit/ed76b0d ) )
16+ * Initial commit ([ c254d68] ( https://github.com/labthings/python-labthings-client/commit/c254d68 ) )
17+ * Update pyproject.toml ([ 3767be8] ( https://github.com/labthings/python-labthings-client/commit/3767be8 ) )
18+ * Updated code highlighting ([ a18b1bd] ( https://github.com/labthings/python-labthings-client/commit/a18b1bd ) )
19+
20+
Original file line number Diff line number Diff line change 1+ 'use strict'
2+
3+ const mainTemplateStr = `{{> header}}
4+
5+ {{#each commitGroups}}
6+
7+ {{#if title}}
8+ ### {{title}}
9+
10+ {{/if}}
11+ {{#each commits}}
12+ {{> commit root=@root}}
13+
14+ {{/each}}
15+ {{/each}}
16+
17+
18+ `
19+
20+ const headerTemplateStr = `{{#if isPatch~}}
21+ ##
22+ {{~else~}}
23+ #
24+ {{~/if}} {{#if @root.linkCompare~}}
25+ [{{version}}](
26+ {{~#if @root.repository~}}
27+ {{~#if @root.host}}
28+ {{~@root.host}}/
29+ {{~/if}}
30+ {{~#if @root.owner}}
31+ {{~@root.owner}}/
32+ {{~/if}}
33+ {{~@root.repository}}
34+ {{~else}}
35+ {{~@root.repoUrl}}
36+ {{~/if~}}
37+ /compare/{{previousTag}}...{{currentTag}})
38+ {{~else}}
39+ {{~version}}
40+ {{~/if}}
41+ {{~#if title}} "{{title}}"
42+ {{~/if}}
43+ {{~#if date}} ({{date}})
44+ {{/if}}`
45+
46+ const commitTemplateStr = `*{{#if scope}} **{{scope}}:**
47+ {{~/if}} {{#if subject}}
48+ {{~subject}}
49+ {{~else}}
50+ {{~header}}
51+ {{~/if}}
52+
53+ {{~!-- commit link --}} {{#if @root.linkReferences~}}
54+ ([{{hash}}](
55+ {{~#if @root.repository}}
56+ {{~#if @root.host}}
57+ {{~@root.host}}/
58+ {{~/if}}
59+ {{~#if @root.owner}}
60+ {{~@root.owner}}/
61+ {{~/if}}
62+ {{~@root.repository}}
63+ {{~else}}
64+ {{~@root.repoUrl}}
65+ {{~/if}}/
66+ {{~@root.commit}}/{{hash}}))
67+ {{~else}}
68+ {{~hash}}
69+ {{~/if}}
70+
71+ {{~!-- commit references --}}
72+ {{~#if references~}}
73+ , closes
74+ {{~#each references}} {{#if @root.linkReferences~}}
75+ [
76+ {{~#if this.owner}}
77+ {{~this.owner}}/
78+ {{~/if}}
79+ {{~this.repository}}#{{this.issue}}](
80+ {{~#if @root.repository}}
81+ {{~#if @root.host}}
82+ {{~@root.host}}/
83+ {{~/if}}
84+ {{~#if this.repository}}
85+ {{~#if this.owner}}
86+ {{~this.owner}}/
87+ {{~/if}}
88+ {{~this.repository}}
89+ {{~else}}
90+ {{~#if @root.owner}}
91+ {{~@root.owner}}/
92+ {{~/if}}
93+ {{~@root.repository}}
94+ {{~/if}}
95+ {{~else}}
96+ {{~@root.repoUrl}}
97+ {{~/if}}/
98+ {{~@root.issue}}/{{this.issue}})
99+ {{~else}}
100+ {{~#if this.owner}}
101+ {{~this.owner}}/
102+ {{~/if}}
103+ {{~this.repository}}#{{this.issue}}
104+ {{~/if}}{{/each}}
105+ {{~/if}}`
106+
107+ module . exports = {
108+ writerOpts : {
109+ mainTemplate : mainTemplateStr ,
110+ headerPartial : headerTemplateStr ,
111+ commitPartial : commitTemplateStr
112+ }
113+ }
You can’t perform that action at this time.
0 commit comments