-
Notifications
You must be signed in to change notification settings - Fork 4
/
.releaserc.yml
45 lines (43 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
39
40
41
42
43
44
45
branches:
- name: 'main'
- name: 'beta'
prerelease: "snapshot"
plugins:
- '@semantic-release/commit-analyzer'
- [
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": ":rocket: New Content",
"hidden": false
},
{
"type": "fix",
"section": ":sparkles: Updates",
"hidden": false
},
]
}
}
]
- [ '@semantic-release/changelog', { changelogFile: 'CHANGELOG.md' } ]
- [ '@semantic-release/exec', {
prepareCmd: 'npm version ${nextRelease.version} --git-tag-version false && ./infra/release-docs-container.sh ${nextRelease.version}',
} ]
- [ '@semantic-release/git', {
assets: [ 'package.json' , 'package-lock.json', 'CHANGELOG.md' ],
message: 'chore(release): release the Identus documentation portal ${nextRelease.version}
${nextRelease.notes}' } ]
- [ "semantic-release-slack-bot", {
notifyOnSuccess: true,
notifyOnFail: true,
markdownReleaseNotes: true,
onSuccessTemplate: {
text: "A new version of `$package_name` successfully released!\n
Version: `$npm_package_version`\n
Release notes:\n
$release_notes" } } ]