-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.old-releaserc.json
37 lines (37 loc) · 1.86 KB
/
.old-releaserc.json
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
{
"plugins": [
[
"semantic-release-gitmoji",
{
"releaseRules": {
"major": [
":boom:"
],
"minor": [
":sparkles:"
],
"patch": [
":bug:",
":lock:",
":ambulance:",
":zap:"
]
},
"releaseNotes": {
"template": "{{#if compareUrl}}\n# [v{{nextRelease.version}}]({{compareUrl}}) ({{datetime \"UTC:yyyy-mm-dd\"}})\n{{else}}\n# v{{nextRelease.version}} ({{datetime \"UTC:yyyy-mm-dd\"}})\n{{/if}}\n\n{{#with commits}}\n{{#if sparkles}}\n## ✨ New Features\n{{#each sparkles}}\n- {{> commitTemplate}}\n{{/each}}\n{{/if}}\n\n{{#if bug}}\n## \uD83D\uDC1B Bug Fixes\n{{#each bug}}\n- {{> commitTemplate}}\n{{/each}}\n{{/if}}\n\n{{#if ambulance}}\n## \uD83D\uDE91 Critical Hotfixes\n{{#each ambulance}}\n- {{> commitTemplate}}\n{{/each}}\n{{/if}}\n\n{{#if lock}}\n## \uD83D\uDD12 Security Issues\n{{#each lock}}\n- {{> commitTemplate}}\n{{/each}}\n{{/if}}\n\n{{#if boom}}\n## \uD83D\uDCA5 Breaking Changes\n{{#each boom}}\n- {{> commitTemplate}}\n{{/each}}\n{{/if}}\n\n{{#if zap}}\n## ⚡ Enhancements\n{{#each zap}}\n- {{> commitTemplate}}\n{{/each}}\n{{/if}}\n\n{{#if pencil}}\n## \uD83D\uDCDD Documentation Changes\n{{#each pencil}}\n- {{> commitTemplate}}\n{{/each}}\n{{/if}}\n{{/with}}",
"partials": {
"commitTemplate": "[`{{commit.short}}`](https://github.com/{{owner}}/{{repo}}/commit/{{commit.short}}) {{subject}} {{#if issues}}(Issues:{{#each issues}} [`{{text}}`]({{link}}){{/each}}){{/if}}{{#if wip}}{{#each wip}}\n - [`{{commit.short}}`](https://github.com/{{owner}}/{{repo}}/commit/{{commit.short}}) {{subject}} {{/each}}\n{{/if}}"
}
}
}
],
"@semantic-release/github"
],
"branches": [
"main",
{
"name": "beta",
"prerelease": true
}
]
}