-
Notifications
You must be signed in to change notification settings - Fork 1
/
.releaserc.yml
42 lines (42 loc) · 1.69 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
plugins:
- - '@semantic-release/commit-analyzer'
- preset: 'conventionalcommits'
releaseRules:
- { type: docs, release: patch }
- { type: build, release: patch }
- { type: chore, release: patch }
- { type: improvement, release: patch }
- { type: refactor, release: patch }
- { type: ci, release: false }
- { subject: "*\\[skip release\\]*", release: false }
- { breaking: true, release: minor } # change to major after reaching 1.0.0 version
# remove rules below after reaching 1.0.0
- { type: feat, release: patch }
- - '@semantic-release/release-notes-generator'
- preset: 'conventionalcommits'
presetConfig:
types:
- { type: docs, section: Documentation }
- { type: build, section: 'Build System' }
- { type: chore, section: Chores }
- { type: ci, section: 'Continuous Integration' }
- { type: feat, section: Features }
- { type: fix, section: 'Bug Fixes' }
- { type: improvement, section: Improvements }
- { type: perf, section: Performance }
- { type: refactor, section: 'Code Refactoring' }
- { type: revert, section: Reverts }
- { type: style, section: 'Code Style' }
- { type: test, section: Tests }
- { section: Other }
- '@semantic-release/github'
- '@semantic-release/changelog'
- - '@semantic-release/exec'
- generateNotesCmd: ./.github/scripts/generate-readme.sh
prepareCmd: ./.github/scripts/set-version.sh ${nextRelease.version}
- - '@semantic-release/git'
- assets:
- CHANGELOG.md
- Cargo.toml
- Cargo.lock
- README.md