aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2023-08-28 09:30:59 -0400
committerTimmy Willison <timmywil@users.noreply.github.com>2023-08-28 09:31:17 -0400
commit399b201bb3143a3952894cf3489b4848fc003967 (patch)
treecdc2948c5b0e29ddcef6723c1b5ea909680a0d4e
parentf85d521cdeeb3c6d3f4563a06dba8be793e26ef0 (diff)
downloadjquery-399b201bb3143a3952894cf3489b4848fc003967.tar.gz
jquery-399b201bb3143a3952894cf3489b4848fc003967.zip
Release: revert change that broke release
https://github.com/jquery/jquery/commit/763ade6dda092709b36d97491951bcae415d91d1#diff-ba51b2c9ce2527b1f191cb2c210748a4f18cccc38893f7ffe1597fb1d23ce027L72 The above change did not work because makeArchives was not made to return a Promise
-rw-r--r--build/release.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/build/release.js b/build/release.js
index 08e4e17e0..6ecc165ce 100644
--- a/build/release.js
+++ b/build/release.js
@@ -65,9 +65,10 @@ module.exports = function( Release ) {
* Publish to distribution repo and npm
* @param {Function} callback
*/
- dist: async callback => {
- await cdn.makeArchives( Release );
- dist( Release, distFiles, callback );
+ dist: function( callback ) {
+ cdn.makeArchives( Release, function() {
+ dist( Release, distFiles, callback );
+ } );
}
} );
};