forked from helpers/handlebars-helpers
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.release-it.js
27 lines (27 loc) · 813 Bytes
/
.release-it.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
module.exports = {
hooks: {
"before:init": ["npm test"],
"after:bump": ["npx auto-changelog -p"],
"after:git:release": ["git checkout develop", "git merge master", "git push origin develop"]
},
git: {
requireBranch: "master",
commit: true,
commitMessage: "chore(release): ${version}",
commitArgs: "",
tag: true,
tagName: "${version}",
tagAnnotation: "${version}",
push: true,
requireCommits: true,
changelog: "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
github: {
release: true,
releaseName: "${version}",
tokenRef: "GITHUB_TOKEN"
},
npm: {
publish: true
}
};