69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"branches": ["master", "main"],
|
|
"tagFormat": "core-v${version}",
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "angular",
|
|
"releaseRules": [
|
|
{ "type": "feat", "release": "minor" },
|
|
{ "type": "fix", "release": "patch" },
|
|
{ "type": "perf", "release": "patch" },
|
|
{ "type": "revert", "release": "patch" },
|
|
{ "type": "docs", "release": false },
|
|
{ "type": "chore", "release": false },
|
|
{ "type": "refactor", "release": "patch" },
|
|
{ "type": "test", "release": false },
|
|
{ "type": "build", "release": false },
|
|
{ "type": "ci", "release": false }
|
|
],
|
|
"parserOpts": {
|
|
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "angular",
|
|
"writerOpts": {
|
|
"commitsSort": ["subject", "scope"]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "CHANGELOG.md",
|
|
"changelogTitle": "# @esengine/ecs-framework Changelog\n\nAll notable changes to the core package will be documented in this file."
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"pkgRoot": "dist",
|
|
"tarballDir": "release"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
|
|
"message": "chore(core): release v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"assets": [
|
|
{
|
|
"path": "release/*.tgz",
|
|
"label": "npm package"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
]
|
|
}
|