-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.yaml
48 lines (45 loc) · 1.85 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
---
plugins:
# Determine the type of release by analyzing commits.
# ie: Major, Minor or Patch
- - "@semantic-release/commit-analyzer"
- preset: conventionalcommits
releaseRules:
- {breaking: true, release: major}
- {revert: true, release: patch}
- {type: feat, release: minor}
- {type: fix, release: patch}
- {type: perf, release: patch}
- {type: docs, release: patch}
- {type: refactor, release: patch}
- {type: style, release: patch}
- {type: build, release: patch}
- {type: ci, release: patch}
- {type: test, release: patch}
- {type: update, release: patch}
# Generate CHANGELOG.md
- - "@semantic-release/release-notes-generator"
- preset: conventionalcommits
presetConfig:
# spec: https://github.com/conventional-changelog/conventional-changelog-config-spec/tree/master/versions/2.1.0
types:
- {type: feat, section: "Features"}
- {type: fix, section: "Bug Fixes"}
- {type: chore, section: "Misc"}
- {type: docs, section: "Misc"}
- {type: style, section: "Improvements"}
- {type: refactor, section: "Improvements"}
- {type: perf, section: "Improvements"}
- {type: test, section: "Automation"}
- {type: ci, section: "Automation"}
- {type: build, section: "Automation"}
- {type: update, section: "Automation"}
- "@semantic-release/changelog"
# Commit CHANGELOG.md back to repo
- - "@semantic-release/git"
- assets: [CHANGELOG.md, README.md]
message: "chore(release): ${nextRelease.version}"
# Create new github release
- - "@semantic-release/github"
- successComment: false # disable call to api.github.com/search due to rate limit exceeded response should be fixed in versions >21.x.x
failTitle: false