-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.releaserc.yaml
28 lines (25 loc) · 973 Bytes
/
.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
preset: conventionalcommits
branches:
- name: main
prerelease: "rc"
- name: release
plugins:
- - "@semantic-release/commit-analyzer"
- releaseRules:
- type: revert
release: patch
- type: perf
release: patch
# Block major version upgrades due to us not supporting them that well. This can
# be disabled by setting releaseOptions.allowMajorVersions, but be warned this
# is not well supported for services.
- - "@semantic-release/exec"
# We use generateNotesCmd instead of verifyConditionsCmd because it has access
# to last/nextRelease due to when the step runs.
- generateNotesCmd: |-
./scripts/shell-wrapper.sh major-release-checker.js ${lastRelease.version} ${nextRelease.version}
# This creates fancy release notes in our Github release
- "@semantic-release/release-notes-generator"
- "@semantic-release/github"
## <<Stencil::Block(customReleasePlugins)>>
## <</Stencil::Block>>