-
Notifications
You must be signed in to change notification settings - Fork 12
/
.releaserc.yaml
35 lines (32 loc) · 1.27 KB
/
.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
29
30
31
32
33
34
35
preset: conventionalcommits
branches:
- name: main
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}
# Build the binaries
- - "@semantic-release/exec"
# We use generateNotesCmd instead of a different step because it has access
# to last/nextRelease due to when the step runs.
- generateNotesCmd: "make release APP_VERSION=${nextRelease.version}"
# This creates fancy release notes in our Github release
- "@semantic-release/release-notes-generator"
# Create the Github Release
- - "@semantic-release/github"
- assets:
- "dist/*.tar.gz"
- "dist/checksums.txt"
## <<Stencil::Block(customReleasePlugins)>>
## <</Stencil::Block>>