-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy path.release-it.cjs
More file actions
35 lines (34 loc) · 948 Bytes
/
.release-it.cjs
File metadata and controls
35 lines (34 loc) · 948 Bytes
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
"use strict";
module.exports = {
preReleaseBase: 1,
hooks: {
"before:init": "./build/release/pre-release.sh",
"after:version:bump":
"sed -i '' -e 's|main/AUTHORS.txt|${version}/AUTHORS.txt|' package.json",
"after:bump": "cross-env VERSION=${version} npm run build",
"before:git:release": "git add -f dist/",
"after:release": "echo 'Run the following to complete the release:' && " +
"echo './build/release/post-release.sh ${version}'"
},
git: {
commitMessage: "Release: ${version}",
getLatestTagFromAllRefs: true,
pushRepo: "git@github.com:jquery/jquery-simulate.git",
requireBranch: "main",
requireCleanWorkingDir: true,
commit: true,
commitArgs: [ "-S" ],
tag: true,
tagName: "${version}",
tagAnnotation: "Release: ${version}",
tagArgs: [ "-s" ]
},
github: {
pushRepo: "git@github.com:jquery/jquery-simulate.git",
release: true,
tokenRef: "JQUERY_GITHUB_TOKEN"
},
npm: {
publish: true
}
};