63 lines
No EOL
1.2 KiB
JSON
Executable file
63 lines
No EOL
1.2 KiB
JSON
Executable file
{
|
|
"branches": [
|
|
"main"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "CHANGELOG.md"
|
|
}
|
|
],
|
|
[
|
|
"@google/semantic-release-replace-plugin",
|
|
{
|
|
"replacements": [
|
|
{
|
|
"files": [
|
|
"pyproject.toml"
|
|
],
|
|
"from": "version = \"[0-9.]+\"",
|
|
"to": "version = \"${nextRelease.version}\"",
|
|
"results": [
|
|
{
|
|
"file": "pyproject.toml",
|
|
"hasChanged": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"CHANGELOG.md",
|
|
"pyproject.toml"
|
|
],
|
|
"message": "chore(release): 🚀 bump version to ${nextRelease.version} [skip ci]\\n\\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/github",
|
|
{
|
|
"path": "semantic-release",
|
|
"name": "m5ka/moku.blog"
|
|
}
|
|
]
|
|
],
|
|
"tagFormat": "${version}"
|
|
} |