1
0
Fork 0
mirror of https://github.com/zdharma-continuum/zinit.git synced 2024-11-21 08:37:59 +01:00
zinit/.releaserc.json
Vladislav Doster 73542b4909 feat: add releases via semantic-release
- release workflow
- semantic-release configuration file
- new CHANGELOG.md

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-11-06 20:38:44 -06:00

47 lines
1 KiB
JSON

{
"repositoryUrl": "https://github.com/zdharma-continuum/zinit.git",
"branches": [
"main"
],
"plugins": [
[ "@semantic-release/commit-analyzer", { } ],
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"VERSION"
],
"from": "^([0-9]).+([0-9]).+([0-9])$",
"to": "${nextRelease.version}",
"results": [
{
"file": "VERSION",
"hasChanged": true
}
]
}
]
}
],
[ "@semantic-release/release-notes-generator", { } ],
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"VERSION"
],
"message": "release: v${lastRelease.version} → v${nextRelease.version}\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}