Skip to content

Commit 399b201

Browse files
committed
Release: revert change that broke release
763ade6#diff-ba51b2c9ce2527b1f191cb2c210748a4f18cccc38893f7ffe1597fb1d23ce027L72 The above change did not work because makeArchives was not made to return a Promise
1 parent f85d521 commit 399b201

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build/release.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ module.exports = function( Release ) {
6565
* Publish to distribution repo and npm
6666
* @param {Function} callback
6767
*/
68-
dist: async callback => {
69-
await cdn.makeArchives( Release );
70-
dist( Release, distFiles, callback );
68+
dist: function( callback ) {
69+
cdn.makeArchives( Release, function() {
70+
dist( Release, distFiles, callback );
71+
} );
7172
}
7273
} );
7374
};

0 commit comments

Comments
 (0)