-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy path.releaserc
More file actions
85 lines (85 loc) · 2.48 KB
/
.releaserc
File metadata and controls
85 lines (85 loc) · 2.48 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"branches": [
"main",
{
"name": "dev",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer", {
"releaseRules": [
{ "type": "fix", "release": "patch" },
{ "type": "feat", "release": "minor" },
{ "type": "bump", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "build", "scope": "Needs bump", "release": "patch" }
]
}
],
[
"@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "fix", "section": "🐛 Bug Fixes", "hidden": false },
{ "type": "feat", "section": "✨ New Features", "hidden": false },
{ "type": "bump", "section": "🚀 Updated App Support", "hidden": false },
{ "type": "perf", "section": "🔧 Improvements", "hidden": false },
{ "type": "build", "hidden": true }
]
}
}
],
[
"@MorpheApp/changelog", {
"releaseJson": {
"path": "patches-bundle.json",
"downloadUrlTemplate": "https://github.com/${owner}/${repo}/releases/download/v${version}/patches-${version}.mpp",
"signatureUrlTemplate": ""
}
}
],
"gradle-semantic-release-plugin",
[
"@semantic-release/exec",
{
"prepareCmd": "./gradlew generatePatchesList \
&& jq '.version=\"${nextRelease.version}\"' patches-list.json > patches-list.json.tmp && mv patches-list.json.tmp patches-list.json \
&& python3 .github/scripts/generate_patches_readme.py $GITHUB_REPOSITORY $GITHUB_REF_NAME patches-list.json README.md"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"gradle.properties",
"patches-bundle.json",
"patches-list.json",
"README.md"
],
"message": "chore: Release v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "patches/build/libs/patches-!(*sources*|*javadoc*).mpp?(.asc)"
}
],
"successComment": false
}
],
[
"@cleyrop-org/semantic-release-backmerge",
{
"backmergeBranches": [{"from": "main", "to": "dev"}],
"clearWorkspace": true
}
]
]
}