-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.yaml
30 lines (29 loc) · 1.01 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
branches:
- main
- name: next
prerelease: rc
plugins:
- '@semantic-release/commit-analyzer'
- '@semantic-release/release-notes-generator'
- - '@semantic-release/exec'
# Get next version info to file to be used in build.
# It's a trick: first do `semantic-release --dry-run` to get the
# version number, then build (uses .version.local) and finally release.
# If no new release is made .version.local is an empty file.
# See: https://github.com/semantic-release/semantic-release/issues/1647#issuecomment-707934082
- verifyConditionsCmd: echo "" > .version.local
verifyReleaseCmd: echo "${nextRelease.version}" > .version.local
- '@semantic-release/changelog'
- - '@semantic-release/npm'
# We don't need NPM. Releasing the build to Github is enough.
- npmPublish: false
- - '@semantic-release/git'
- assets:
- package.json
- CHANGELOG.md
message: |-
chore(release): ${nextRelease.version} [skip ci]
${nextRelease.notes}
- - '@semantic-release/github'
- assets:
- 'release.local/*'