Release: revert change that broke release

763ade6dda (diff-ba51b2c9ce2527b1f191cb2c210748a4f18cccc38893f7ffe1597fb1d23ce027L72)

The above change did not work because makeArchives was
not made to return a Promise
This commit is contained in:
Timmy Willison 2023-08-28 09:30:59 -04:00
parent f85d521cde
commit 399b201bb3
No known key found for this signature in database
GPG Key ID: 07B25485CBF49D88

View File

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