fix: normalize semantic release parsing

This commit is contained in:
pelikhan 2022-01-07 18:05:35 -08:00
Родитель 44bba30121
Коммит f21d804fc2
1 изменённых файлов: 45 добавлений и 11 удалений

Просмотреть файл

@ -1,21 +1,55 @@
module.exports = {
"branches": ["main"],
"plugins": [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/github',
branches: ["main"],
plugins: [
[
"@semantic-release/commit-analyzer",
{
preset: "angular",
releaseRules: [
{
type: "doc",
release: "patch",
},
{
type: "fix",
release: "patch",
},
{
type: "patch",
release: "patch",
},
{
type: "minor",
release: "minor",
},
{
type: "feat",
release: "minor",
},
{
type: "feature",
release: "minor",
},
{
scope: "no-release",
release: false,
},
],
},
],
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"semantic-release-dotnet",
{
paths: ["./Directory.Build.props"],
debug: true
}
},
],
[
"@semantic-release/exec",
{
"publishCmd": "sh ./nuget.sh",
}
]
publishCmd: "sh ./nuget.sh",
},
],
],
}
}