mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
22e72a55f5
Generate release notes for breaking:xxxx commits
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
{
|
|
verifyConditions: ["@semantic-release/github"],
|
|
prepare: [
|
|
{
|
|
"path": "@semantic-release/exec",
|
|
"prepareCmd": "echo ${nextRelease.version} > Assets/Mirror/version.txt"
|
|
}
|
|
],
|
|
publish: [
|
|
{
|
|
"path": "@semantic-release/github",
|
|
"assets": [
|
|
{"path": "Mirror.unitypackage", "label": "Mirror Unity Package", "name": "Mirror-${nextRelease.version}.unitypackage"}
|
|
]
|
|
}
|
|
],
|
|
"plugins": [
|
|
["@semantic-release/commit-analyzer", {
|
|
"preset": "angular",
|
|
"releaseRules": [
|
|
{"type": "breaking", "release": "major"},
|
|
{"type": "feature", "release": "minor"},
|
|
]
|
|
}],
|
|
['@semantic-release/release-notes-generator', {
|
|
"preset": "angular",
|
|
"releaseRules": [
|
|
{"type": "breaking", "release": "major"},
|
|
{"type": "feature", "release": "minor"},
|
|
]
|
|
}],
|
|
]
|
|
}
|