-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.releaserc
43 lines (41 loc) · 1.9 KB
/
.releaserc
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
{
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
"writerOpts": {
"mainTemplate": "{{> header}}\n\n{{#each commitGroups}}\n\n{{#if title}}\n### {{title}}\n\n{{/if}}\n{{#each commits}}\n{{> commit root=@root}}\n{{/each}}\n\n{{/each}}\n{{> footer}}\n\n",
"headerPartial": "## {{#if @root.linkCompare~}}\n [{{version}}](\n {{~#if @root.repository~}}\n {{~#if @root.host}}\n {{[email protected]}}/\n {{~/if}}\n {{~#if @root.owner}}\n {{[email protected]}}/\n {{~/if}}\n {{[email protected]}}\n {{~else}}\n {{[email protected]}}\n {{~/if~}}\n /compare/{{previousTag}}...{{currentTag}})\n{{~else}}\n {{~version}}\n{{~/if}}\n{{~#if title}} \"{{title}}\"\n{{~/if}}\n{{~#if date}} ({{date}})\n{{/if}}",
"footerPartial": "{{#if noteGroups}}\n{{#each noteGroups}}\nblah\n### {{title}}\nblah\n{{#each notes}}\n* {{#if commit.scope}}**{{commit.scope}}:** {{/if}}{{text}}\n{{/each}}\n{{/each}}\n\n{{/if}}"
}
}
],
[
"@semantic-release/changelog",
{
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines."
}
],
[
"@semantic-release/exec",
{
"verifyConditionsCmd": "./scripts/verify_git_tags_one_version_tag_present.sh",
"verifyReleaseCmd": "./scripts/verify_git_tags_new_version_tag_non_existant.sh ${nextRelease.version}",
"prepareCmd": "make release NEW_VERSION=${nextRelease.version}"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"VERSION",
"docs/**"
],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}