2020-10-16 15:17:08 +00:00
|
|
|
{
|
|
|
|
"branches": [
|
|
|
|
"main",
|
2022-02-19 16:06:11 +00:00
|
|
|
{
|
|
|
|
"name": "alpha",
|
|
|
|
"prerelease": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "beta",
|
|
|
|
"prerelease": true
|
2024-06-10 16:34:13 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "next",
|
|
|
|
"prerelease": true
|
2022-02-19 16:06:11 +00:00
|
|
|
}
|
2020-10-16 15:17:08 +00:00
|
|
|
],
|
|
|
|
"plugins": [
|
2024-12-26 13:41:08 +00:00
|
|
|
[
|
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
{
|
|
|
|
"preset": "conventionalcommits",
|
|
|
|
"releaseRules": [
|
|
|
|
{
|
|
|
|
"type": "docs",
|
|
|
|
"scope": "README",
|
|
|
|
"release": "patch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "refactor",
|
|
|
|
"scope": "core-*",
|
|
|
|
"release": "minor"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "refactor",
|
|
|
|
"release": "patch"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"parserOpts": {
|
|
|
|
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@semantic-release/release-notes-generator",
|
|
|
|
{
|
|
|
|
"preset": "conventionalcommits",
|
|
|
|
"parserOpts": {
|
|
|
|
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
|
|
|
|
},
|
|
|
|
"presetConfig": {
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "feat",
|
|
|
|
"section": "Features"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "fix",
|
|
|
|
"section": "Bug Fixes"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "chore",
|
|
|
|
"section": "Internal",
|
|
|
|
"hidden": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "refactor",
|
|
|
|
"section": "Internal",
|
|
|
|
"hidden": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "perf",
|
|
|
|
"section": "Internal",
|
|
|
|
"hidden": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2020-10-16 15:17:08 +00:00
|
|
|
"@semantic-release/changelog",
|
|
|
|
[
|
|
|
|
"@semantic-release/exec",
|
|
|
|
{
|
2023-02-22 17:25:14 +00:00
|
|
|
"prepareCmd": "./scripts/bundle.sh ${nextRelease.version} && ./scripts/package.sh ${nextRelease.version} && pnpm exec prettier --write CHANGELOG.md"
|
2020-10-16 15:17:08 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"@semantic-release/npm",
|
|
|
|
[
|
|
|
|
"@semantic-release/git",
|
|
|
|
{
|
|
|
|
"assets": [
|
2020-10-26 11:48:17 +00:00
|
|
|
"app/Config/Constants.php",
|
2020-10-16 15:17:08 +00:00
|
|
|
"composer.json",
|
|
|
|
"package.json",
|
|
|
|
"package-lock.json",
|
|
|
|
"CHANGELOG.md"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@semantic-release/gitlab",
|
|
|
|
{
|
2022-02-19 16:06:11 +00:00
|
|
|
"gitlabUrl": "https://code.castopod.org/",
|
2020-10-16 15:17:08 +00:00
|
|
|
"assets": [
|
|
|
|
{
|
2022-02-19 16:06:11 +00:00
|
|
|
"path": "castopod-*.zip",
|
|
|
|
"label": "Castopod Package (zip)"
|
2020-10-16 15:17:08 +00:00
|
|
|
},
|
|
|
|
{
|
2022-02-19 16:06:11 +00:00
|
|
|
"path": "castopod-*.tar.gz",
|
|
|
|
"label": "Castopod Package (tar.gz)"
|
2020-10-16 15:17:08 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|