-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc
31 lines (31 loc) · 894 Bytes
/
.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
{
"tagFormat": "v${version}",
"repositoryUrl": "https://git.sk5.io/skale-5/docker-images/cookiecutter-docs",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/exec",
{
"generateNotesCmd": "sed -i 's/version = \"[^\"]*\"/version = \"${nextRelease.version}\"/' pyproject.toml && sed -i 's/__version__ = \"[^\"]*\"/__version__ = \"${nextRelease.version}\"/' cookiecutter_docs/version.py"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"pyproject.toml",
"cookiecutter_docs/version.py"
],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}[skip ci]"
}
],
"@semantic-release/gitlab"
],
"branches": [
"main",
"master"
]
}