Skip to content

Commit

Permalink
Release: revert change that broke release
Browse files Browse the repository at this point in the history
763ade6#diff-ba51b2c9ce2527b1f191cb2c210748a4f18cccc38893f7ffe1597fb1d23ce027L72

The above change did not work because makeArchives was
not made to return a Promise
  • Loading branch information
timmywil committed Aug 28, 2023
1 parent f85d521 commit 399b201
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
} );
}
} );
};
Expand Down

0 comments on commit 399b201

Please sign in to comment.