-
Notifications
You must be signed in to change notification settings - Fork 1
/
.releaserc.yml
97 lines (90 loc) · 2.26 KB
/
.releaserc.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
branches: ['main']
preset: 'conventionalcommits'
ci: false
verifyConditions:
- '@semantic-release/changelog'
- '@semantic-release/git'
- '@semantic-release/github'
analyzeCommits:
- path: '@semantic-release/commit-analyzer'
releaseRules:
- breaking: true
release: 'major'
- type: 'chore'
release: false
- type: 'ci'
release: false
- type: 'docs'
release: false
- type: 'docs'
scope: 'README'
release: patch
- type: 'feat'
release: 'minor'
- type: 'fix'
release: 'patch'
- type: 'improv'
release: 'minor'
- type: 'refactor'
release: 'patch'
- revert: true
release: 'patch'
- type: 'style'
release: false
- type: 'test'
release: false
generateNotes:
- path: '@semantic-release/release-notes-generator'
writerOpts:
groupBy: 'type'
commitGroupsSort: 'title'
commitsSort: 'header'
linkCompare: true
linkReferences: true
presetConfig:
types:
- type: 'breaking'
section: 'Breaking changes!'
hidden: false
- type: 'chore'
section: 'Miscellaneous Chores'
hidden: true
- type: 'ci'
section: 'Continuous Integration'
hidden: false
- type: 'docs'
section: 'Documentation'
hidden: false
- type: 'feat'
section: 'Features'
hidden: false
- type: 'fix'
section: 'Fixes'
hidden: false
- type: 'improv'
section: 'Improvements'
hidden: false
- type: 'refactor'
section: 'Code Refactoring'
hidden: false
- type: 'revert'
section: 'Reverts'
hidden: false
- type: 'style'
section: 'Styles'
hidden: false
- type: 'test'
section: 'Tests'
hidden: false
prepare:
- path: '@semantic-release/changelog'
changelogFile: 'CHANGELOG.md'
changelogTitle: '# Changelog'
- path: '@semantic-release/git'
assets: ['CHANGELOG.md']
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
publish:
- path: '@semantic-release/github'
success: false
fail: false