/
.releaserc.yml
66 lines (64 loc) · 1.86 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
---
preset: conventionalcommits
branches: main
plugins:
- - "@semantic-release/commit-analyzer"
- releaseRules:
- type: refactor
release: patch
- type: build
release: patch
- type: ci
release: patch
- - "@semantic-release/release-notes-generator"
- presetConfig:
# this overrides the entire `types` property so all the types have to be
# redefined
types:
# default types
- type: feat
section: Features
- type: feature
section: Features
- type: fix
section: Bug Fixes
- type: perf
section: Performance Improvements
- type: revert
section: Reverts
# types that were hidden by default
- type: docs
section: Documentation
- type: chore
section: Miscellaneous Chores
- type: refactor
section: Code Refactoring
- type: test
section: Tests
- type: build
section: Build System
- type: ci
section: Continuous Integration
- "@semantic-release/changelog"
- - semantic-release-replace-plugin
- replacements:
- files: [README.md]
from: akikanellis/branch-name-validator-test@v\d+\.\d+\.\d+
to: akikanellis/branch-name-validator-test@v${nextRelease.version}
results:
- file: README.md
hasChanged: true
numMatches: 1
numReplacements: 1
countMatches: true
- "@semantic-release/npm"
- - "@semantic-release/exec"
- prepareCmd: npm run package
- - "@semantic-release/git"
- assets:
- packages/actions/action/bundle
- CHANGELOG.md
- package.json
- package-lock.json
- README.md
- "@semantic-release/github"