mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-09-26 23:29:14 +08:00
180 lines
5.9 KiB
Plaintext
180 lines
5.9 KiB
Plaintext
{
|
|
"branches": [
|
|
"main",
|
|
"master",
|
|
{"name": "beta", "prerelease": true}
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"parserOpts": {
|
|
"noteKeywords": [
|
|
"BREAKING CHANGE",
|
|
"BREAKING CHANGES",
|
|
"BREAKING"
|
|
]
|
|
},
|
|
"releaseRules": [
|
|
{
|
|
"breaking": true,
|
|
"release": "major"
|
|
},
|
|
{
|
|
"type": "feat",
|
|
"release": "minor"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "revert",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "docs",
|
|
"release": "minor"
|
|
},
|
|
{
|
|
"type": "style",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "test",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "build",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "ci",
|
|
"scope": "ci-*",
|
|
"release": "patch"
|
|
},
|
|
{
|
|
"type": "chore",
|
|
"release": false
|
|
},
|
|
{
|
|
"type": "no-release",
|
|
"release": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"parserOpts": {
|
|
"noteKeywords": [
|
|
"BREAKING CHANGE",
|
|
"BREAKING CHANGES",
|
|
"BREAKING"
|
|
]
|
|
},
|
|
"writerOpts": {
|
|
"commitsSort": [
|
|
"subject",
|
|
"scope"
|
|
]
|
|
},
|
|
"presetConfig": {
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "🍕 Features"
|
|
},
|
|
{
|
|
"type": "feature",
|
|
"section": "🍕 Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "🐛 Bug Fixes"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"section": "🔥 Performance Improvements"
|
|
},
|
|
{
|
|
"type": "revert",
|
|
"section": "⏩ Reverts"
|
|
},
|
|
{
|
|
"type": "docs",
|
|
"section": "📝 Documentation"
|
|
},
|
|
{
|
|
"type": "style",
|
|
"section": "🎨 Styles"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"section": "🧑💻 Code Refactoring"
|
|
},
|
|
{
|
|
"type": "test",
|
|
"section": "✅ Tests"
|
|
},
|
|
{
|
|
"type": "build",
|
|
"section": "🤖 Build System"
|
|
},
|
|
{
|
|
"type": "ci",
|
|
"section": "🔁 Continuous Integration"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogTitle": "# 📦 Changelog \n[](https://conventionalcommits.org)\n[](https://semver.org)\n> All notable changes to this project will be documented in this file"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"prepareCmd": "./repo-tools/scripts/prepareCMD.sh ${nextRelease.version}",
|
|
"publishCmd": "echo Publishing ${nextRelease.version}"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"addReleases": "bottom",
|
|
"assets": [
|
|
{
|
|
"path": "./build/**/*.zip"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"ESP/lib/library.json",
|
|
"ESP/ini/dev_config.ini",
|
|
"LICENSE*",
|
|
"CHANGELOG.md"
|
|
],
|
|
"message": "chore(${nextRelease.type}): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
}
|
|
]
|
|
]
|
|
} |