-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.release-it.cjs
35 lines (34 loc) · 1020 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
const path = require('path')
const cwd = process.cwd()
const pkg = path.resolve(cwd, 'package.json')
const { name } = require(pkg)
module.exports = {
git: {
changelog: 'git log --pretty=format:\"* %s (%h)\" \${from}...\${to} -- ./',
commitMessage: 'chore(release): ${name} -- v${version}',
tagName: `${name}@\${version}`,
commit: false,
tag: false,
push: false,
requireCleanWorkingDir: false,
requireBranch: 'master'
},
npm: {
publish: false,
ignoreVersion: false,
},
plugins: {
[path.resolve(__dirname, './ci/aggregate-npm.js')]: {},
[path.resolve(__dirname, './ci/aggregate-conventional-changelog.js')]: {
infile: "CHANGELOG.md",
preset: {
name: path.resolve(__dirname, './ci/conventional-changelog-microfleet.js'),
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
},
},
},
[path.resolve(__dirname, './ci/aggregate-release.js')]: {},
},
'disable-metrics': true,
}