-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreleaserc.js
More file actions
40 lines (40 loc) · 965 Bytes
/
Copy pathreleaserc.js
File metadata and controls
40 lines (40 loc) · 965 Bytes
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
module.exports = {
// https://github.com/semantic-release/evolution/blob/release-workflows/_drafts/release-workflows.md#pre-releases
branches: [
'master',
'main',
'next',
{ name: 'beta', prerelease: true },
{ name: 'alpha', prerelease: true }
],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/changelog',
[
'@semantic-release/exec',
{
prepareCmd: 'npm run fix:md'
}
],
[
'@semantic-release/exec',
{
prepareCmd: 'npm run fix:prettier'
}
],
'@semantic-release/npm',
'./scripts/version.js',
[
'@semantic-release/git',
{
assets: ['src/version.ts', 'CHANGELOG.md', 'package.json', 'app.config.ts', 'ios', 'android'],
message:
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
}
],
'./scripts/entryPoint.js',
'@semantic-release/github'
// "@qiwi/semantic-release-gh-pages-plugin"
]
};