-
Notifications
You must be signed in to change notification settings - Fork 0
/
.releaserc.json
59 lines (58 loc) · 1.99 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"branches": [
"main",
"master",
{"name": "beta", "prerelease": true},
{"name": "alpha", "prerelease": true},
{"name": "next", "prerelease": true},
{"name": "next-major", "prerelease": true}
],
"plugins": [
["@semantic-release/commit-analyzer", {
"releaseRules": [
{"type": "docs", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"scope": "no-release", "release": false}
]
}],
"@semantic-release/release-notes-generator",
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)."
}],
["@semantic-release/exec", {
"prepareCmd": "prep-release ${nextRelease.version}"
}],
["@semantic-release/git", {
"assets": [
"CHANGELOG.md",
"README.md",
"data/packages.json",
"data/packages/*.json",
"data/opinion.json",
"data/stats.json",
"rest",
".etags"
]
}],
["@semantic-release/github", {
"assets": [
{"path": "build/pecl-info-*.zip", "name": "pecl-info-${nextRelease.version}.zip", "label": "pecl-info ${nextRelease.version} (zip)"},
{"path": "build/pecl-info-*.tar.gz", "name": "pecl-info-${nextRelease.version}.tar.gz", "label": "pecl-info ${nextRelease.version} (tar.gz)"}
]
}]
],
"preset": "conventionalcommits",
"presetConfig": {
"header": "Changelog",
"types": [
{"type": "feat", "section": "Added"},
{"type": "fix", "section": "Fixed"},
{"type": "chore", "hidden": true},
{"type": "docs", "section": "Changed"},
{"type": "style", "hidden": true},
{"type": "refactor", "section": "Changed"},
{"type": "perf", "section": "Changed"}
]
}
}