From 1fa8df5dbd5d84cf55882a38eb6e571abd0aa938 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Fri, 12 Jul 2024 15:43:41 -0400 Subject: [PATCH] Release: set preReleaseBase in config file https://github.com/release-it/release-it/issues/1128#issuecomment-2224692805 Closes gh-5518 --- .release-it.cjs | 1 + build/release/README.md | 1 - package.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.release-it.cjs b/.release-it.cjs index add1dc66a..2061e0160 100644 --- a/.release-it.cjs +++ b/.release-it.cjs @@ -7,6 +7,7 @@ if ( !blogURL || !blogURL.startsWith( "https://blog.jquery.com/" ) ) { } module.exports = { + preReleaseBase: 1, hooks: { "before:init": "bash ./build/release/pre-release.sh", "before:git:release": "git add -f dist/ dist-module/ changelog.md", diff --git a/build/release/README.md b/build/release/README.md index 2cdd65e8a..7d050d336 100644 --- a/build/release/README.md +++ b/build/release/README.md @@ -53,7 +53,6 @@ The release script will not run without this token. 1. Create draft blog post on blog.jquery.com; save the link before publishing. The link is required to run the release. - Highlight major changes and reason for release. - - Add contributor list generated in the below release script. - Add HTML from the `changelog.html` generated in the below release script. - Use HTML from the `contributors.html` generated in the below release script in the "Thanks" section. diff --git a/package.json b/package.json index dccb7119d..000f947f7 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "prepare": "husky", "pretest": "npm run qunit-fixture && npm run babel:tests && npm run npmcopy", "qunit-fixture": "node build/tasks/qunit-fixture.js", - "release": "release-it --preReleaseBase=1", + "release": "release-it", "release:cdn": "node build/release/cdn.js", "release:changelog": "node build/release/changelog.js", "release:clean": "rimraf tmp --glob changelog.{md,html} contributors.html", -- 2.39.5