forked from vincent-herlemont/native_db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.config.js
38 lines (38 loc) · 1.35 KB
/
release.config.js
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
module.exports = {
branches: ['main'],
tagFormat: '${version}',
plugins: [
['@semantic-release/commit-analyzer', {
releaseRules: [
{breaking: true, release: 'minor'},
{revert: true, release: 'patch'},
{type: 'feat', release: 'minor'},
{type: 'fix', release: 'patch'},
{type: 'perf', release: 'patch'},
{type: 'docs', release: 'patch'},
{emoji: ':racehorse:', release: 'patch'},
{emoji: ':bug:', release: 'patch'},
{emoji: ':penguin:', release: 'patch'},
{emoji: ':apple:', release: 'patch'},
{emoji: ':checkered_flag:', release: 'patch'},
{tag: 'BUGFIX', release: 'patch'},
{tag: 'FEATURE', release: 'minor'},
{tag: 'SECURITY', release: 'patch'},
{tag: 'Breaking', release: 'minor'},
{tag: 'Fix', release: 'patch'},
{tag: 'Update', release: 'minor'},
{tag: 'New', release: 'minor'},
{component: 'perf', release: 'patch'},
{component: 'deps', release: 'patch'},
{type: 'FEAT', release: 'minor'},
{type: 'FIX', release: 'patch'},
],
}],
'@semantic-release/release-notes-generator',
['@semantic-release/exec', {
"prepareCmd": "bash version_update.sh ${nextRelease.version}",
"publishCmd": "bash cargo_publish.sh",
}],
'@semantic-release/github',
],
};