-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.releaserc
41 lines (41 loc) · 1.52 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
{
"branches": ["main"],
"repositoryUrl": "https://github.com/nclsbayona/resume-generator.git",
"plugins": [
[
'@semantic-release/commit-analyzer', {
preset: 'angular',
releaseRules: [
{ breaking: true, release: 'major' },
{ type: 'feat', release: 'minor' },
{ type: 'fix', release: 'patch' },
{ type: 'refactor', release: 'minor' },
{ scope: 'deps', release: 'patch' },
{ type: 'perf', release: 'patch' },
{ type: 'test', release: 'patch' },
],
},
],
[
"@semantic-release/exec", {
"publishCmd": "make version=${nextRelease.version} registry_url=${process.env.CONTAINER_REGISTRY} repository_name=${process.env.CONTAINER_REGISTRY_REPOSITORY} password=${process.env.CONTAINER_REGISTRY_PASSWORD} release"
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# The changelog\n\n## All notable changes to this project will be documented in this file.\n\n#### This project tries to fully adhere to [Semantic Versioning](https://semver.org) and [Conventional Commits](https://www.conventionalcommits.org)."
}
],
[
'@semantic-release/git',
{
message:
'chore(release): :rocket: Release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes} ',
},
],
]
}