-
Notifications
You must be signed in to change notification settings - Fork 6
/
.releaserc
61 lines (61 loc) · 2 KB
/
.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
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
{
"repositoryUrl": "https://github.com/iris-connect/iris-client.git",
"branches": ["+([0-9])?(.{+([0-9]),x}).x", "main", "next", "next-major", {"name": "release", "prerelease": "rc"}],
"debug": "true",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md",
"changelogTitle": "# Changelog"
}
],
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": ["infrastructure/deployment/docker-compose-ext-postgres.yml", "infrastructure/deployment/docker-compose.yml"],
"from": "inoeg/(iris-client.*):.*",
"to": "inoeg/$1:${nextRelease.version.split('.').slice(0,2).join('.')}",
"countMatches": true
}
]
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "./.prepare-release.sh ${nextRelease.version} ${nextRelease.gitHead} ${nextRelease.channel}"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"**/pom.xml",
"iris-client-fe/package.json",
"iris-client-fe/package-lock.json",
"infrastructure/deployment/docker-compose.yml",
"infrastructure/deployment/docker-compose-ext-postgres.yml",
"FE-THIRD-PARTY-LICENSES-PROD.md",
"FE-THIRD-PARTY-LICENSES-DEV.md",
"BFF-THIRD-PARTY-LICENSES.md"
]
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "release/**"
}
]
}
]
]
}