-
-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy path.release-it.js
More file actions
23 lines (21 loc) · 597 Bytes
/
.release-it.js
File metadata and controls
23 lines (21 loc) · 597 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require("dotenv").config();
// Doc: https://github.com/release-it/release-it
module.exports = {
git: {
commitMessage: "build: Release v${version}",
requireUpstream: false,
pushRepo: "upstream", // Push tags and commit to the remote `upstream` (fails if doesn't exist)
requireBranch: "main", // Push commit to the branch `master` (fail if on other branch)
requireCommits: true, // Require new commits since latest tag
},
github: {
release: true,
},
hooks: {
"after:bump": "yarn compile:force",
},
npm: {
publish: false,
skipChecks: true,
},
};