-
Notifications
You must be signed in to change notification settings - Fork 6
/
.releaserc
29 lines (29 loc) · 964 Bytes
/
.releaserc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"branches": [
'+([0-9])?(.{+([0-9]),x}).x',
'main',
'next',
'next-major',
{
name: 'develop',
prerelease: true
}
],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": 'yq -i eval ".runs.image = \"docker://ghcr.io/splunk/appinspect-cli-action/appinspect-cli-action:v${nextRelease.version}\"" action.yml',
"verifyReleaseCmd": "echo \"version=${nextRelease.version}\" >> $GITHUB_OUTPUT",
"successCmd": "echo \"new_release_published=${'true'}\" >> $GITHUB_OUTPUT"
}
],
["@semantic-release/git", {
"assets": ["action.yml"],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}],
"@semantic-release/github"
]
}