-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.yml
94 lines (87 loc) · 3.41 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
# Code generated by craft; DO NOT EDIT.
# https://semantic-release.gitbook.io/semantic-release/usage/configuration
branches:
- (master|main)
- v+([0-9])?(.{+([0-9]),x}).x
- name: next
prerelease: true
- name: beta
prerelease: true
- name: alpha
prerelease: true
- name: staging
prerelease: beta
- name: (dev|develop|development)
prerelease: alpha
tagFormat: v${version}
plugins:
- - "@semantic-release/commit-analyzer"
- preset: conventionalcommits
presetConfig:
types:
- { type: feat, section: "🚀 Features" }
- { type: fix, section: "🐛 Bug Fixes" }
- { type: revert, section: "⏪ Reverts" }
- { type: perf, section: "💪 Performance Improvements" }
- { type: docs, section: "📚 Documentation" }
- { type: chore, section: "⚙️ Chores" }
- { type: refactor, section: "🚜 Code Refactoring" }
- { type: build, section: "🏗️ Build System", hidden: true }
- { type: ci, section: "♾️ Continuous Integration", hidden: true }
- { type: style, section: "Styles", hidden: true }
- { type: test, section: "Tests", hidden: true }
releaseRules:
- { breaking: true, release: major }
- { revert: true, release: patch }
- { type: feat, release: minor }
- { type: fix, release: patch }
- { type: revert, release: patch }
- { type: perf, release: patch }
- { type: docs, release: patch }
- { type: chore, release: patch }
- { type: refactor, release: minor }
- { scope: release, release: false }
parserOpts:
noteKeywords:
- BREAKING CHANGE
- BREAKING CHANGES
- BREAKING
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
presetConfig:
types:
- { type: feat, section: "🚀 Features" }
- { type: fix, section: "🐛 Bug Fixes" }
- { type: revert, section: "⏪ Reverts" }
- { type: perf, section: "💪 Performance Improvements" }
- { type: docs, section: "📚 Documentation" }
- { type: chore, section: "⚙️ Chores" }
- { type: refactor, section: "🚜 Code Refactoring" }
- { type: build, section: "🏗️ Build System", hidden: true }
- { type: ci, section: "♾️ Continuous Integration", hidden: true }
- { type: style, section: "Styles", hidden: true }
- { type: test, section: "Tests", hidden: true }
parserOpts:
noteKeywords:
- BREAKING CHANGE
- BREAKING CHANGES
- BREAKING
- "@semantic-release/changelog"
- "semantic-release-license"
- - "@semantic-release/git"
- assets:
- CHANGELOG.md
- LICENSE
message: "chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
- - "@semantic-release/github"
- draftRelease: false
failComment: ⚠️ Expected release for branch '${branch.name}' has failed due to the following errors:\n- ${errors.map(err => err.message).join('\\n- ')}
failCommentCondition: <% return false; %>
successComment: 🎉 This issue has been resolved in version v${nextRelease.version} 🎉
successCommentCondition: <% return true; %>
assets:
- label: CHANGELOG.md
path: CHANGELOG.md
- path: checksums.txt
- path: dist
- "@semantic-release/exec"