fix: normalize semantic release parsing
This commit is contained in:
Родитель
44bba30121
Коммит
f21d804fc2
|
@ -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",
|
||||
},
|
||||
],
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче