-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.release-it.cjs
39 lines (38 loc) · 957 Bytes
/
.release-it.cjs
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
/**
* Release it.
*
* @description Release it.
* @see https://github.com/release-it/release-it
*/
module.exports = {
'plugins' : {
'@release-it/bumper' : {
'in' : [
'src/chrome/manifest.json',
'src/firefox/manifest.json',
],
'out' : [
'src/chrome/manifest.json',
'src/firefox/manifest.json',
],
},
},
'git' : {
'requireBranch' : 'main',
'commitMessage' : ':construction_worker: build(lib): Release v${version}',
},
'hooks' : {
'before:init' : [ 'pnpm lint-fix', 'pnpm gh-update' ],
'after:bump' : 'pnpm auto-changelog -p',
'after:git:release' : 'echo \'After git push, before github release\'',
'after:release': [
'echo "GitHub action is now releasing: ${name} v${version} to ${repo.repository}.\\n Check if all is ok 🌈🤖\\n https://github.com/${repo.repository}/actions"',
],
},
'github' : {
'release' : false,
},
'npm' : {
'release' : false,
},
}