-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchangelog.mustache
40 lines (40 loc) · 1.16 KB
/
changelog.mustache
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<html>
<head>
</head>
<body>
{{^to-build-num}}
<h1>Changelog for <a href="{{to-url}}">{{to}}</a></h1>
{{/to-build-num}}
{{#to-build-num}}
<h1>Changelog for build <a href="{{to-url}}">{{to-build-num}}</a> created at {{to-time}}</h1>
<p>VCS tag: {{to}}
{{/to-build-num}}
{{^from-build-num}}
<h2>Changes since <a href="{{from-url}}">{{from}}</a> (<a
href="{{compare-url}}">diff</a>)</h2>
{{/from-build-num}}
{{#from-build-num}}
<h2>Changes since build <a
href="{{from-url}}">{{from-build-num}}</a> created at {{from-time}}
(<a href="{{compare-url}}">diff</a>)</h2>
<p>VCS tag: {{from}}
{{/from-build-num}}
{{#sections}}
<h3>{{title}}</h3>
<ul>
{{#commits}}
{{> commit}}
{{/commits}}
</ul>
{{/sections}}
</body>
</html>
{{!
- to: git ref
- to-url: generated url pointing to the 'to' git ref
- from: git ref
- from-url: generated url pointing to the 'from' git ref
- compare-url: generated url pointing at github compare page between 'from' and 'to' ref
- title: title of section
- commits: list of commits
}}