diff options
author | Timmy Willison <timmywil@users.noreply.github.com> | 2024-07-12 15:43:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 15:43:41 -0400 |
commit | 1fa8df5dbd5d84cf55882a38eb6e571abd0aa938 (patch) | |
tree | 0ff3c58002d8aaa6097daae9387039ee4d60b049 | |
parent | 5518b2da1816b379b573abc55ba92f02776a3486 (diff) | |
download | jquery-1fa8df5dbd5d84cf55882a38eb6e571abd0aa938.tar.gz jquery-1fa8df5dbd5d84cf55882a38eb6e571abd0aa938.zip |
Release: set preReleaseBase in config file
https://github.com/release-it/release-it/issues/1128#issuecomment-2224692805
Closes gh-5518
-rw-r--r-- | .release-it.cjs | 1 | ||||
-rw-r--r-- | build/release/README.md | 1 | ||||
-rw-r--r-- | 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", |