-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
.releaserc.yaml
executable file
·49 lines (49 loc) · 1.77 KB
/
.releaserc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
branches: [
{name: 'master'},
{name: 'develop', prerelease: 'dev', channel: false},
{name: 'test-feature', prerelease: 'feat', channel: false}
],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": [
{"type": "refactor", "release": "patch"},
{"type": "style", "release": false},
{"type": "docs", "release": false},
{"scope": "no-release", "release": false},
{"type": "test", "release": false},
{"type": "chore", "release": false},
{"type": "build", "release": false},
{"type": "ci", "release": false}
]
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "perf", "section": "Performance Improvements"},
{"type": "revert", "section": "Reverts"},
{"type": "docs", "section": "Documentation"},
{"type": "refactor", "section": "Code Refactoring", "hidden": true},
{"type": "chore", "section": "Chores", "hidden": true},
{"type": "test", "section": "Tests"},
{"type": "build", "section": "Build", "hidden": true},
{"type": "ci", "section": "Continuous Integration", "hidden": true}
]
}
}],
["@semantic-release/exec", {
"prepareCmd": "./prepare_release.sh ${nextRelease.version}",
"shell": "/bin/bash"
}],
["@semantic-release/github", {
"assets": [{"path": "./addon/i3d_exporter.zip", "label": "I3D Exporter"}],
"successComment": false,
"failTitle": false
}
],
]
}