-
Notifications
You must be signed in to change notification settings - Fork 20
/
.releaserc.json
31 lines (31 loc) · 1.06 KB
/
.releaserc.json
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
30
31
{
"tagFormat": "${version}",
"branches": [
"main",
{ "name": "beta", "prerelease": true },
{ "name": "alpha", "prerelease": true }
],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits"
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits"
}],
["@semantic-release/exec", {
"verifyReleaseCmd": "./scripts/update-version.sh ${nextRelease.version} && ./scripts/update-version-cocoapods.sh ${nextRelease.version}"
}],
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md"
}],
["@semantic-release/git", {
"assets": ["CHANGELOG.md", "Sources/Common/Version.swift", "*.podspec", "reports/*"],
"message": "chore: prepare for ${nextRelease.version}\n\n${nextRelease.notes}"
}],
["@semantic-release/github", {
"labels": false,
"successComment": false,
"failTitle": false
}]
]
}