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 ); + } ); } } ); };