-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
executable file
·64 lines (63 loc) · 1.51 KB
/
.releaserc
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
branch: master
ci: false
verifyConditions:
- "@semantic-release/changelog"
- "@semantic-release/git"
- "@semantic-release/github"
analyzeCommits:
- "@semantic-release/commit-analyzer"
generateNotes:
path: "@semantic-release/release-notes-generator"
preset: angular
parserOpts:
noteKeywords:
- BREAKING CHANGE
- BREAKING CHANGES
- BREAKING
writerOpts:
commitsSort:
- scope
- subject
presetConfig:
types:
- type: chore
section: Chores
- type: build
section: Build Changes
- type: docs
section: Documentation Changes
- type: feat
section: Features
- type: fix
section: Bug Fixes
- type: perf
section: Performance Improvements
- type: refactor
section: Refactors
- type: revert
section: Reverted
- type: style
section: Styles Changes
- type: test
section: Test Suite Changes
prepare:
- path: "@semantic-release/changelog"
changelogFile: CHANGELOG.md
- path: "@semantic-release/exec"
cmd: echo "v${nextRelease.version}" > Version
- path: "@semantic-release/exec"
cmd: 'bundle config unset deployment'
- path: "@semantic-release/exec"
cmd: 'bundle install'
- path: "@semantic-release/exec"
cmd: 'echo "Creating Version: $(cat Version)"'
- path: "@semantic-release/git"
assets:
- CHANGELOG.md
- Version
- Gemfile.lock
message: |-
build(release): v${nextRelease.version} [skip ci]
${nextRelease.notes}
publish:
- "@semantic-release/github"