Skip to content

Commit f3cd983

Browse files
added support for objects in plugins for semantic-release.json (SchemaStore#5061)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ddffaac commit f3cd983

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

src/schemas/json/semantic-release.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@
101101
},
102102
{
103103
"type": "array"
104+
},
105+
{
106+
"type": "object",
107+
"required": ["path"],
108+
"properties": {
109+
"path": { "type": "string" }
110+
},
111+
"additionalProperties": true
104112
}
105113
]
106114
},
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# yaml-language-server: $schema=../../schemas/json/semantic-release.json
2+
plugins:
3+
- path: '@semantic-release/commit-analyzer'
4+
preset: conventionalcommits
5+
- '@semantic-release/release-notes-generator'
6+
- '@semantic-release/gitlab'
7+
- path: 'semantic-release-slack-bot'
8+
notifyOnSuccess: true
9+
notifyOnFail: true
10+
markdownReleaseNotes: true

0 commit comments

Comments
 (0)