mirror of
https://github.com/Xevion/research-multipliers.git
synced 2025-12-09 16:08:17 -06:00
fix: update .releaserc, use 'master' branch, reformat to proper JSON
This commit is contained in:
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@@ -6,6 +6,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
|||||||
249
.releaserc
249
.releaserc
@@ -1,73 +1,184 @@
|
|||||||
{
|
{
|
||||||
"branches": ["main"],
|
"branches": [
|
||||||
"plugins":
|
"master"
|
||||||
|
],
|
||||||
|
"plugins": [
|
||||||
[
|
[
|
||||||
[
|
"@semantic-release/commit-analyzer",
|
||||||
"@semantic-release/commit-analyzer",
|
{
|
||||||
{
|
"preset": "conventionalcommits",
|
||||||
"preset": "conventionalcommits",
|
"releaseRules": [
|
||||||
"releaseRules":
|
{
|
||||||
[
|
"breaking": true,
|
||||||
{ "breaking": true, "release": "major" },
|
"release": "major"
|
||||||
{ "type": "info", "release": "patch" },
|
},
|
||||||
{ "type": "feat", "release": "minor" },
|
{
|
||||||
{ "type": "feature", "release": "minor" },
|
"type": "info",
|
||||||
{ "type": "gui", "release": "patch" },
|
"release": "patch"
|
||||||
{ "type": "balance", "release": "patch" },
|
},
|
||||||
{ "type": "perf", "release": "patch" },
|
{
|
||||||
{ "type": "performance", "release": "patch" },
|
"type": "feat",
|
||||||
{ "type": "compat", "release": "patch" },
|
"release": "minor"
|
||||||
{ "type": "compatibility", "release": "patch" },
|
},
|
||||||
{ "type": "fix", "release": "patch" },
|
{
|
||||||
{ "type": "graphics", "release": "patch" },
|
"type": "feature",
|
||||||
{ "type": "sound", "release": "patch" },
|
"release": "minor"
|
||||||
{ "type": "locale", "release": "patch" },
|
},
|
||||||
{ "type": "translate", "release": "patch" },
|
{
|
||||||
{ "type": "control", "release": "patch" },
|
"type": "gui",
|
||||||
{ "type": "other", "release": "patch" },
|
"release": "patch"
|
||||||
],
|
},
|
||||||
},
|
{
|
||||||
],
|
"type": "balance",
|
||||||
[
|
"release": "patch"
|
||||||
"@semantic-release/release-notes-generator",
|
},
|
||||||
{
|
{
|
||||||
"preset": "conventionalcommits",
|
"type": "perf",
|
||||||
"writerOpts":
|
"release": "patch"
|
||||||
{
|
},
|
||||||
"headerPartial": "---------------------------------------------------------------------------------------------------\nVersion: {{version}}\nDate: {{#if date}}{{date}}{{else}}????{{/if}}\n",
|
{
|
||||||
"footerPartial": "",
|
"type": "performance",
|
||||||
"commitPartial": "{{#if scope}}[{{scope}}] {{/if}}{{~subject}}",
|
"release": "patch"
|
||||||
"mainTemplate": "{{> header}}\n{{#each commitGroups}}\n {{title}}:\n{{#each commits}}\n - {{> commit root=@root}}\n{{/each}}\n{{/each}}",
|
},
|
||||||
},
|
{
|
||||||
"presetConfig":
|
"type": "compat",
|
||||||
{
|
"release": "patch"
|
||||||
"types":
|
},
|
||||||
[
|
{
|
||||||
{ "type": "info", "section": "Info" },
|
"type": "compatibility",
|
||||||
{ "type": "feat", "section": "Features" },
|
"release": "patch"
|
||||||
{ "type": "feature", "section": "Features" },
|
},
|
||||||
{ "type": "gui", "section": "Gui" },
|
{
|
||||||
{ "type": "balance", "section": "Balancing" },
|
"type": "fix",
|
||||||
{ "type": "perf", "section": "Optimizations" },
|
"release": "patch"
|
||||||
{ "type": "performance", "section": "Optimizations" },
|
},
|
||||||
{ "type": "compat", "section": "Compatibility" },
|
{
|
||||||
{ "type": "compatibility", "section": "Compatibility" },
|
"type": "graphics",
|
||||||
{ "type": "fix", "section": "Bugfixes" },
|
"release": "patch"
|
||||||
{ "type": "graphics", "section": "Graphics" },
|
},
|
||||||
{ "type": "sound", "section": "Sounds" },
|
{
|
||||||
{ "type": "locale", "section": "Locale" },
|
"type": "sound",
|
||||||
{ "type": "translate", "section": "Translation" },
|
"release": "patch"
|
||||||
{ "type": "control", "section": "Control" },
|
},
|
||||||
{ "type": "other", "section": "Changes" },
|
{
|
||||||
],
|
"type": "locale",
|
||||||
},
|
"release": "patch"
|
||||||
},
|
},
|
||||||
],
|
{
|
||||||
"semantic-release-factorio",
|
"type": "translate",
|
||||||
[
|
"release": "patch"
|
||||||
"@semantic-release/github",
|
},
|
||||||
{ "assets": [{ "path": "*_*.*.*.zip", "label": "Packaged Mod" }] },
|
{
|
||||||
],
|
"type": "control",
|
||||||
["@semantic-release/git", { "assets": ["changelog.txt", "info.json"] }],
|
"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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user