-
Notifications
You must be signed in to change notification settings - Fork 43
/
.releaserc.yml
38 lines (37 loc) · 1.35 KB
/
.releaserc.yml
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
$schema: https://json.schemastore.org/semantic-release.json
branches:
- name: main
- name: next
prerelease: true
plugins:
- '@semantic-release/commit-analyzer'
- '@semantic-release/release-notes-generator'
- '@semantic-release/changelog'
# `@semantic-release/npm` must be before `@semantic-release/git`
# so the `@semantic-release/npm` plugin can properly update the version
# in the package*.json files before we commit the changes in `@semantic-release/git`
- '@semantic-release/npm'
- [
'@semantic-release/exec',
{
# Adds a major version git tag (e.g., v8) as a convenience for GitHub Actions users
# We need to run this in the publish phase so it can be force-pushed separately from the other tags
'publishCmd': './bin/set-major-version-tag.js push',
},
]
- [
'@semantic-release/git',
{
assets:
['CHANGELOG.md', 'dist-gha', 'documentation/commands', 'package.json', 'package-lock.json', 'README.md'],
message: "build(release): 🚀 v${nextRelease.version} 🦉\n\n${nextRelease.notes}\n[skip ci]",
},
]
- [
'@semantic-release/exec',
{
# Adds an additional git tag without the `v` prefix as a convenience for GitHub Actions users
'prepareCmd': 'git tag ${nextRelease.version}',
},
]
- '@semantic-release/github'