aboutsummaryrefslogtreecommitdiffstats
path: root/.release-it.cjs
diff options
context:
space:
mode:
Diffstat (limited to '.release-it.cjs')
-rw-r--r--.release-it.cjs10
1 files changed, 8 insertions, 2 deletions
diff --git a/.release-it.cjs b/.release-it.cjs
index 1de0de548..ff55b0ef1 100644
--- a/.release-it.cjs
+++ b/.release-it.cjs
@@ -14,16 +14,22 @@ module.exports = {
"sed -i 's/main\\/AUTHORS.txt/${version}\\/AUTHORS.txt/' package.json",
"after:bump": "cross-env VERSION=${version} npm run build:all",
"before:git:release": "git add -f dist/ dist-module/ changelog.md",
- "after:release": `bash ./build/release/post-release.sh \${version} ${ blogURL }`
+ "after:release": "echo 'Run the following to complete the release:' && " +
+ `echo './build/release/post-release.sh $\{version} ${ blogURL }'`
},
git: {
- changelog: "npm run release:changelog -- ${from} ${to}",
+
+ // Use the node script directly to avoid an npm script
+ // command log entry in the GH release notes
+ changelog: "node build/release/changelog.js ${from} ${to}",
commitMessage: "Release: ${version}",
getLatestTagFromAllRefs: true,
+ pushRepo: "git@github.com:jquery/jquery.git",
requireBranch: "main",
requireCleanWorkingDir: true
},
github: {
+ pushRepo: "git@github.com:jquery/jquery.git",
release: true,
tokenRef: "JQUERY_GITHUB_TOKEN"
},