diff options
author | Timmy Willison <timmywil@users.noreply.github.com> | 2024-07-17 10:13:53 -0400 |
---|---|---|
committer | Timmy Willison <timmywil@users.noreply.github.com> | 2024-07-29 12:34:41 -0400 |
commit | 53ad94f319930a5bf8cb9bd935ebd4e028741903 (patch) | |
tree | b8adbeaa9088bfbb099c2b46a57ab81db57e18d7 /.release-it.cjs | |
parent | be048a027d0581746f71df7c8eb3ce1d9bd10a40 (diff) | |
download | jquery-53ad94f319930a5bf8cb9bd935ebd4e028741903.tar.gz jquery-53ad94f319930a5bf8cb9bd935ebd4e028741903.zip |
Release: correct build date in verification; other improvements
- the date is actually the date of the commit *prior*
to the tag commit, as the files are built and then committed.
- also, the CDN should still be checked for non-stable releases,
and should use different filenames (including in the map files).
- certain files should be skipped when checking the CDN.
- removed file diffing because it ended up being far too noisy,
making it difficult to find the info I needed.
- because the build script required an addition, release
verification will not work until the next release.
- print all files in failure case and whether each matched
- avoid npm script log in GH release notes changelog
- exclude changelog.md from release:clean command
- separate the post-release script from release-it for now, so we
can keep manual verification before each push. The exact command is
printed at the ened for convenience.
Closes gh-5521
Diffstat (limited to '.release-it.cjs')
-rw-r--r-- | .release-it.cjs | 10 |
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" }, |