Gitea API fails when trying to upload directory assets. Since the project deploys via Docker, the dist files are not needed in the release.
67 lines
2.3 KiB
JSON
67 lines
2.3 KiB
JSON
{
|
|
"branches": ["master", { "name": "staging", "prerelease": true }],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"releaseRules": [
|
|
{ "type": "feat", "release": "minor" },
|
|
{ "type": "fix", "release": "patch" },
|
|
{ "type": "perf", "release": "patch" },
|
|
{ "type": "revert", "release": "patch" },
|
|
{ "type": "docs", "release": false },
|
|
{ "type": "style", "release": false },
|
|
{ "type": "refactor", "release": false },
|
|
{ "type": "test", "release": false },
|
|
{ "type": "build", "release": false },
|
|
{ "type": "ci", "release": false },
|
|
{ "type": "chore", "release": false }
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"presetConfig": {
|
|
"types": [
|
|
{ "type": "feat", "section": "Features", "hidden": false },
|
|
{ "type": "fix", "section": "Bug Fixes", "hidden": false },
|
|
{ "type": "perf", "section": "Performance Improvements", "hidden": false },
|
|
{ "type": "revert", "section": "Reverts", "hidden": false },
|
|
{ "type": "docs", "section": "Documentation", "hidden": false },
|
|
{ "type": "style", "section": "Styles", "hidden": true },
|
|
{ "type": "refactor", "section": "Code Refactoring", "hidden": true },
|
|
{ "type": "test", "section": "Tests", "hidden": true },
|
|
{ "type": "build", "section": "Build System", "hidden": true },
|
|
{ "type": "ci", "section": "Continuous Integration", "hidden": true },
|
|
{ "type": "chore", "section": "Chores", "hidden": true }
|
|
]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "CHANGELOG.md",
|
|
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file."
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": false
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": ["package.json", "CHANGELOG.md"],
|
|
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
"@semantic-release/github"
|
|
]
|
|
}
|