aboutsummaryrefslogtreecommitdiffstats
path: root/build/release
Commit message (Collapse)AuthorAgeFilesLines
* Release: migrate release process to release-itTimmy Willison2024-07-299-326/+993
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *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-113-30/+48
| | | | Ref gh-5441
* Release: use buildDefaultFiles directly and pass version (#5409)Timmy Willison2024-02-061-0/+1
| | | | | | | - 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: remove scripts and dev deps from dist package.jsonTimmy Willison2024-02-051-2/+14
| | | | | | - this became necessary due to the addition of the prepare script - scripts aren't needed and don't work in the dist repo Close gh-5405
* Build: migrate grunt authors to a custom scriptTimmy Willison2024-01-221-0/+105
| | | | | | - the new script pulls all authors from the Sizzle repo - added temporary grunt task for releases Close gh-5396
* Release: add support for md5 sums in windowsTimmy Willison2023-03-091-2/+15
| | | Close gh-5220
* Selector: Inline Sizzle into the selector module: 3.x version (#5113)Michał Gołębiowski-Owczarek2022-12-142-40/+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: drop the need for npm as a local dependencyTimmy Willison2021-03-011-35/+16
| | | | - Not meant to be used like that anymore
* Build: Rename master to main across the repositoryMichał Gołębiowski-Owczarek2021-02-051-4/+4
| | | | | | | | | The default branch was updated, this updates the remaining occurrences in code & comments. Closes gh-4838 (cherry picked from commit 8ae477a432f0924cd4bd3bdeaef2c4c15e483a8f)
* Build: Update eslint-config-jquery, fix linting violationsMichał Gołębiowski-Owczarek2020-05-181-1/+1
| | | | | | | | Closes gh-4696 Ref jquery/eslint-config-jquery#15 Ref jquery/eslint-config-jquery#16 (cherry picked from commit ef4d6ca6c3a1b276fedc27b1f3a18823276f01a3)
* Release: Use an in-repository dist README fixtureMichał Gołębiowski-Owczarek2020-03-021-48/+55
| | | | | | | | | | | | | 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: Require strict mode in Node.js scripts via ESLintMichał Gołębiowski-Owczarek2019-10-093-0/+6
| | | | | | | | | | | 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: Support jquery-release --dry-run flagMichał Gołębiowski-Owczarek2019-10-051-1/+2
| | | | | | | | | | Without this change passing `--dry-run` to jquery-release still pushes to the jquery-dist repository which is dangerous as one can assume `--dry-run` to be safe from external side effects. Close gh-4498 (cherry picked from commit d7d0b52bda74486f2351baa9d03ca4534de0d733)
* Release: edit dist README version on releaseTimmy Willison2017-03-171-1/+24
| | | | Fixes gh-3574
* Release: md5sum -> md5 -r for MACTimmy Willison2017-03-161-1/+1
|
* Release: fix quotes for releasing on WindowsTimmy Willison2016-09-221-3/+4
|
* Build: Make sourcemap updates in two .replace() passesDave Methvin2016-09-191-4/+5
| | | | | Fixes gh-3260 Closes gh-3321
* Release: remove extraneous files from dist during releaseTimmy Willison2016-05-131-1/+16
| | | | | Fixes gh-3094 Close gh-3116
* Release: copy sizzle separately into an 'external' folderTimmy Willison2016-05-131-2/+7
| | | | Fixes gh-2945
* Release: set version in source for releasesTimmy Willison2016-03-141-0/+3
| | | | | Fixes gh-2979 Close gh-2981
* Release: include external/sizzle in releasesTimmy Willison2016-02-241-0/+1
| | | | Ref gh-2945
* Docs: Fix various spelling errorsJosh Soref2016-01-131-1/+1
| | | | Closes gh-2761
* Release: push a custom slim build to the CDNTimmy Willison2015-11-162-20/+20
| | | | | Fixes gh-2653 Close gh-2711
* Release: use chalk instead of colors for terminal colorsTimmy Willison2015-11-121-3/+4
|
* Release: remove antiquated release-notes.jsTimmy Willison2015-10-291-58/+0
|
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-074-36/+41
| | | | Fixes gh-2056
* Docs: Fix various spelling mistakesBruno Pérel2015-07-301-1/+1
| | | | Closes gh-2487
* Release: properly set the dist remote when it's a real releaseTimmy Willison2015-07-131-1/+1
|
* Build: bower.json: remove moot `version` fieldChris Rebert2015-05-131-1/+0
| | | | | | | Related: https://github.com/bower/bower.json-spec/commit/a325da3d79baab018c572d75dc1781b12322f6cd Close gh-2304
* Release: push dist to same remote as projectTimmy Willison2015-01-301-3/+2
|
* Release: remove sourcemap comment from all copies of minified fileTimmy Willison2015-01-301-6/+0
| | | | Fixes gh-1707
* Release: fix CDN archive creationTimmy Willison2015-01-291-30/+45
| | | | Fixes gh-1940
* Release: dist can be run during a testTimmy Willison2015-01-291-2/+2
|
* Release: Distribute files to distribution repoTimmy Willison2015-01-294-0/+325
Fixes gh-1869 Fixes gh-1673 Fixes gh-2045