-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
changelog-template-vue.hbs
44 lines (42 loc) · 1.4 KB
/
changelog-template-vue.hbs
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
41
42
43
44
<template>
{{#each releases}}
{{#if tag}}
<h2 class="text-2xl font-semibold py-2">{{tag}} | {{niceDate}}</h2>
{{else}}
<h2 class="text-2xl font-semibold py-2">Latest | {{niceDate}}</h2>
{{/if}}
{{#if summary}}
{{summary}}
{{/if}}
<div class="grid gap-1">
{{#each merges}}
<span>
{{#if commit.breaking}}<b>Breaking change:</b> {{/if}}
{{format message}}
{{#if href}}
<a href={{href}} class="text-blue-500">#{{id}}</a>
{{/if}}
</span>
{{/each}}
{{#each fixes}}
<span>
{{#if commit.breaking}}<b>Breaking change:</b> {{/if}}
{{format commit.subject}}
{{#if href}}
<a href={{href}} class="text-blue-500">#{{id}}</a>
{{/if}}
</span>
{{/each}}
{{#each commits}}
<span>
{{#if breaking}}<b>Breaking change:</b> {{/if}}
{{format subject}}
{{#if href}}
<a href={{href}} class="text-blue-500">{{shorthash}}</a>
{{/if}}
</span>
{{/each}}
</div>
<hr class="mt-2">
{{/each}}
</template>