forked from MorpheApp/morphe-patches-template
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.releaserc
More file actions
74 lines (74 loc) · 1.97 KB
/
.releaserc
File metadata and controls
74 lines (74 loc) · 1.97 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
{
"branches": [
"main",
{
"name": "dev",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{ "breaking": true, "release": "major" },
{ "type": "feat", "release": "minor" },
{ "type": "fix", "release": "patch" },
{ "type": "perf", "release": "patch" },
{ "type": "revert", "release": "patch" },
{ "type": "build", "scope": "Needs bump", "release": "patch" },
{ "type": "release", "release": "patch" }
]
}
],
"@semantic-release/release-notes-generator",
[
"@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",
{
"generateNotesCmd": "node scripts/changelog-for-release.js ${nextRelease.version}",
"prepareCmd": "jq '.version=\"${nextRelease.version}\"' patches-list.json > patches-list.json.tmp && mv patches-list.json.tmp patches-list.json"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"gradle.properties",
"patches-bundle.json",
"patches-list.json"
],
"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
}
]
]
}