generated from factorio-rivets/rivets-mod-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
84 lines (84 loc) · 3.61 KB
/
.releaserc
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{ "type": "info", "release": "patch" },
{ "type": "feat", "release": "minor" },
{ "type": "feature", "release": "minor" },
{ "type": "gui", "release": "patch" },
{ "type": "balance", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "performance", "release": "patch" },
{ "type": "compat", "release": "patch" },
{ "type": "compatibility", "release": "patch" },
{ "type": "fix", "release": "patch" },
{ "type": "graphics", "release": "patch" },
{ "type": "sound", "release": "patch" },
{ "type": "locale", "release": "patch" },
{ "type": "translate", "release": "patch" },
{ "type": "control", "release": "patch" },
{ "type": "other", "release": "patch" }
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"writerOpts": {
"headerPartial": "---------------------------------------------------------------------------------------------------\nVersion: {{version}}\nDate: {{#if date}}{{date}}{{else}}????{{/if}}\n",
"footerPartial": "",
"commitPartial": "{{#if scope}}[{{scope}}] {{/if}}{{~subject}}",
"mainTemplate": "{{> header}}\n{{#each commitGroups}}\n {{title}}:\n{{#each commits}}\n - {{> commit root=@root}}\n{{/each}}\n{{/each}}"
},
"presetConfig": {
"types": [
{ "type": "info", "section": "Info" },
{ "type": "feat", "section": "Features" },
{ "type": "feature", "section": "Features" },
{ "type": "gui", "section": "Gui" },
{ "type": "balance", "section": "Balancing" },
{ "type": "perf", "section": "Optimizations" },
{ "type": "performance", "section": "Optimizations" },
{ "type": "compat", "section": "Compatibility" },
{ "type": "compatibility", "section": "Compatibility" },
{ "type": "fix", "section": "Bugfixes" },
{ "type": "graphics", "section": "Graphics" },
{ "type": "sound", "section": "Sounds" },
{ "type": "locale", "section": "Locale" },
{ "type": "translate", "section": "Translation" },
{ "type": "control", "section": "Control" },
{ "type": "other", "section": "Changes" }
]
}
}
],
"semantic-release-factorio",
[
"@semantic-release/github",
{
"assets": [
{
"path": "*_*.*.*.zip",
"label": "Packaged Mod"
}
]
}
],
[
"@semantic-release/git",
{
"assets": [
"changelog.txt",
"info.json"
]
}
]
]
}