-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.releaserc.hotfix.yml
More file actions
54 lines (50 loc) · 1.25 KB
/
.releaserc.hotfix.yml
File metadata and controls
54 lines (50 loc) · 1.25 KB
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
#release configuration for hotfix branches
plugins:
- path: "@semantic-release/commit-analyzer"
preset: conventionalcommits
parserOpts:
noteKeywords:
- "BREAKING CHANGE"
- "BREAKING CHANGES"
releaseRules:
- type: feat
release: minor
- type: perf
release: minor
- type: build
release: minor
- type: chore
release: patch
- type: ci
release: patch
- type: test
release: patch
- type: fix
release: patch # to hotfix scenarios
- type: refactor
release: minor
- type: docs
release: patch
- breaking: true
release: major
# Plugin to version the CHANGELOG.md
- path: "@semantic-release/git"
assets:
- CHANGELOG.md
message: "chore(release): ${nextRelease.version}\n\nChangelog atualizado."
# Plugin to publish the CHANGELOG.md as an asset in the GitHub release
- path: "@semantic-release/github"
assets:
- path: CHANGELOG.md
label: "Changelog"
successComment: false
failComment: false
labels: []
- path: "@semantic-release/exec"
branches:
- main
- name: develop
prerelease: beta
- name: hotfix/*
prerelease: false
channel: false