aboutsummaryrefslogtreecommitdiffstats
path: root/build/release.js
Commit message (Collapse)AuthorAgeFilesLines
* Release: migrate release process to release-itTimmy Willison2024-07-291-82/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *Authors* - Checking and updating authors has been migrated to a custom script in the repo *Changelog* - changelogplease is no longer maintained - generate changelog in markdown for GitHub releases - generate changelog in HTML for blog posts - generate contributors list in HTML for blog posts *dist* - clone dist repo, copy files, and commit/push - commit tag with dist files on main branch; remove dist files from main branch after release *cdn* - clone cdn repo, copy files, and commit/push - create versioned and unversioned copies in cdn/ - generate md5 sums and archives for Google and MSFT *build* - implement reproducible builds and verify release builds * uses the last modified date for the latest commit * See https://reproducible-builds.org/ - the verify workflow also ensures all files were properly published to the CDN and npm *docs* - the new release workflow is documented at build/release/README.md *verify* - use the last modified date of the commit before the tag - use versioned filenames when checking map files on the CDN - skip factory and package.json files when verifying CDN *misc* - now that we don't need the jquery-release script and now that we no longer need to build on Node 10, we can use ESM in all files in the build folder - limit certain workflows to the main repo (not forks) - version has been set to the previously released version 3.7.1, as release-it expects - release-it added the `preReleaseBase` option and we now always set it to `1` in the npm script. This is a noop for stable releases. - include post-release script to be run manually after a release, with further steps that should be verified manually Ref jquery/jquery-release#114 Closes gh-5522
* Build: migrate more uses of fs.promises; use node: protocolTimmy Willison2024-03-111-1/+1
| | | | Ref gh-5441
* Release: use buildDefaultFiles directly and pass version (#5409)Timmy Willison2024-02-061-2/+3
| | | | | | | - also add the ability to pass VERSION in env to test final builds - adjust sha regex to account for lack of shas - set the version on the dist package.json Close gh-5408
* Release: update build command in Release.generateArtifactsTimmy Willison2024-01-311-1/+1
| | | Close gh-5400
* Release: revert change that broke releaseTimmy Willison2023-08-281-3/+4
| | | | | | | https://github.com/jquery/jquery/commit/763ade6dda092709b36d97491951bcae415d91d1#diff-ba51b2c9ce2527b1f191cb2c210748a4f18cccc38893f7ffe1597fb1d23ce027L72 The above change did not work because makeArchives was not made to return a Promise
* Build: Generate the slim build on `grunt` & run `compare_size` on itMichał Gołębiowski-Owczarek2023-07-101-10/+5
| | | | | | | | | | | | | | Summary of the changes: * expand `node_smoke_tests` to test the full & slim builds * run `compare_size` on all built minified files; don't run it anymore on unminified files where they don't provide lots of value The main goal of this change is to make it easier to compare sizes of both the full & slim builds between the `3.x-stable` & `main` branches. Closes gh-5291 Ref gh-5255 (partially cherry-picked from commit 8be4c0e4f89d6c8f780e5937a0534921d8c7815e)
* Selector: Inline Sizzle into the selector module: 3.x version (#5113)Michał Gołębiowski-Owczarek2022-12-141-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit removes Sizzle from jQuery, inlining its code & removing obsolete workarounds where applicable. The Sizzle AUTHORS.txt file has been merged with the jQuery one - people are sorted by their first contributions to either of the two repositories. The main `selector` module can be disabled in favor of `selector-native` via: grunt custom:-selector For backwards compatibility, the legacy `sizzle` alias is also supported (it will be dropped in jQuery `4.0.0`): grunt custom:-selector Sizzle tests have been ported to jQuery ones. Ones that are not compatible with the `selector-native` module are disabled if the regular selector module is excluded. Backwards compatibility is still kept for all `Sizzle` utils - they continue to be available under `jQuery.find` - but the primary implementation is now attached directly to jQuery. Some selector utils shared by `selector` & `selector-native` have been extracted & deduplicated. `jQuery.text` and `jQuery.isXMLDoc` have been moved to the `core` module. The commit reduces the gzipped jQuery size by 851 bytes compared to the `3.x-stable` branch. Closes gh-5113 Ref gh-4395 Ref gh-4406
* Release: remove the need to install grunt globallyTimmy Willison2021-03-011-3/+3
|
* Release: drop the need for npm as a local dependencyTimmy Willison2021-03-011-1/+0
| | | | - Not meant to be used like that anymore
* Release: upgrade release dependenciesTimmy Willison2021-03-011-5/+5
|
* Release: Use an in-repository dist README fixtureMichał Gołębiowski-Owczarek2020-03-021-17/+17
| | | | | | | | | | | | | Use a dist README fixture kept in the jQuery repository instead of modifying an existing one. This makes the jQuery repository the single source of truth when it comes to jQuery releases and it makes it easier to make changes to README without worrying how it will affect older jQuery lines. The commit also ES6ifies build/release.js & build/release/dist.js Closes gh-4614 (cherry picked from commit 358b769a00c3a09a8ec621b8dcb2d5e31b7da69a)
* Build: Create a `grunt custom:slim` alias for the Slim buildMichał Gołębiowski-Owczarek2020-01-071-1/+1
| | | | | | Closes gh-4578 (cherry-picked from 9b9ed469b43e9fa6e2c752444470ae4c87d03d57)
* Build: Require strict mode in Node.js scripts via ESLintMichał Gołębiowski-Owczarek2019-10-091-0/+2
| | | | | | | | | | | So far, only browser-based JS files were required to be in strict mode (in the function form). This commit adds such a requirement to Node.js scripts where the global form is preferred. All Node.js scripts in sloppy mode were converted to strict mode. Closes gh-4499 (cherry picked from commit bbad821c399da92995a11b88d6684970479d4a9b)
* Build: Stop copying src/core.js to dist on releaseMichał Gołębiowski-Owczarek2019-10-041-4/+7
| | | | | | | | | | | File `src/core.js` has started erroneously being copied to `dist/` in gh-2981. Fixes gh-4489 Closes gh-4492 Ref gh-2979 Ref gh-2981 (cherry picked from commit 9a4d980639dd804ad320685a25b8ff4572e3f595)
* Release: update release dependenciesTimmy Willison2017-03-151-4/+4
|
* Build: Keep deprecated module in slimTimmy Willison2017-02-131-1/+1
| | | | | Fixes gh-3237 Close gh-3533
* Build: ESLint detailsOleg Gaidarenko2016-06-111-0/+5
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Release: remove extraneous files from dist during releaseTimmy Willison2016-05-131-1/+1
| | | | | Fixes gh-3094 Close gh-3116
* Release: set version in source for releasesTimmy Willison2016-03-141-1/+13
| | | | | Fixes gh-2979 Close gh-2981
* Release: push a custom slim build to the CDNTimmy Willison2015-11-161-2/+14
| | | | | Fixes gh-2653 Close gh-2711
* Release: use chalk instead of colors for terminal colorsTimmy Willison2015-11-121-1/+2
|
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-3/+4
| | | | Fixes gh-2056
* Release: fix CDN archive creationTimmy Willison2015-01-291-2/+4
| | | | Fixes gh-1940
* Release: dist can be run during a testTimmy Willison2015-01-291-6/+0
|
* Release: bower.json is actually generated from scratchTimmy Willison2015-01-291-4/+0
|
* Release: Distribute files to distribution repoTimmy Willison2015-01-291-133/+30
| | | | | | Fixes gh-1869 Fixes gh-1673 Fixes gh-2045
* Release: Remove copying of jquery-latest filesDave Methvin2015-01-061-29/+18
|
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-171-1/+3
|
* Release: ensure Sizzle is the latest tagTimmy Willison2014-05-231-0/+8
| | | | Fixes #14915
* Build: Update release script for new jquery-release APIScott González2014-03-211-7/+6
| | | | Closes gh-1544
* Release: Instantiate a zip archiver, run archivers asyncTimmy Willison2014-01-231-9/+10
|
* Release: Publish to npmJörn Zaefferer2014-01-101-0/+1
| | | | Closes gh-1479
* Release script: _tracMilestone -> tracMilestoneTimmy Willison2013-12-211-1/+1
|
* Release script: minor formatting issue.Timmy Willison2013-12-201-1/+1
|
* Release script: jquery-release integrationTimmy Willison2013-12-201-380/+142
|
* Manage bower dependencies with grunt-bowercopyTimmy Willison2013-12-061-14/+3
| | | | | | | | | | | | Tracked bower dependencies are located at "src/sizzle" and "test/libs". The source-destination mapping is in the Gruntfile. When updating a bower dependency, update the version in bower.json, run `grunt bower`, and then commit the result. When adding a dependency, update the bowercopy task accordingly. Fixes #14615. Closes gh-1452.
* Release script: Add dist files in multiple commits for a clean final commit ↵Timmy Willison2013-11-151-3/+15
| | | | with a small diff
* Release script: Add .npmignore and keep .gitignore when creating the tagTimmy Willison2013-11-151-20/+3
|
* Release script: create tag after building CDN filesTimmy Willison2013-11-151-5/+6
|
* Update sizzle location in release scriptTimmy Willison2013-11-141-1/+1
|
* Modify release script to create a headless tag for bower and publish to NPMTimmy Willison2013-11-131-50/+158
|
* Fix #14415. Remove the source map comment in the release script. Close gh-1424.Michał Gołębiowski2013-11-101-5/+3
|
* Add bower install script and release scripts to jshint and pass lintTimmy Willison2013-10-071-6/+6
|
* Update release script for sourcmap syntax changeDave Methvin2013-09-191-4/+4
|
* Revert "Fix #13983. Switch to //# for sourcemaps."Dave Methvin2013-07-021-3/+3
| | | | | | | | | Per the discussion here: https://code.google.com/p/chromium/issues/detail?id=256636 Thanks to the Chrome team for the quick response! This reverts commit d53ddc90c1f119fb9148a553443ef3fbc3f3cc99.
* Fix #13983. Switch to //# for sourcemaps.Dave Methvin2013-07-021-3/+3
| | | | | Normally we'd avoid doing this on a patch release, but Chrome Canary is spewing deprecation warnings already and that's generating bug tickets.
* Do not include the path in map references.Dave Methvin2013-05-241-4/+5
|
* Update the map reference in each minified file.Dave Methvin2013-05-161-6/+13
| | | | (cherry picked from commit ebc7899ba1ba6e8306066b5bd4d3e14f0d2d8aad)
* build: switch from .min.gz to .zip format.Dave Methvin2013-05-121-20/+10
|
* build: update release script to use nodejs archiver.Chris Talkington2013-05-121-2/+26
|