@@ -46,16 +46,16 @@ module.exports = {
4646 pullRequestTeamReviewers : [ 'instantsearch-for-websites' ] ,
4747 buildCommand : ( { version } ) =>
4848 `NODE_ENV=production VERSION=${ version } yarn build` ,
49- afterPublish : async ( { exec, version } ) => {
50- await waitUntil ( ( ) => {
51- return (
52- exec ( `npm view react-instantsearch@${ version } ` )
53- . toString ( )
54- . trim ( ) !== ''
55- ) ;
56- } ) ;
57- exec ( 'node scripts/update-examples.js' ) ;
58- } ,
49+ // afterPublish: async ({ exec, version }) => {
50+ // await waitUntil(() => {
51+ // return (
52+ // exec(`npm view react-instantsearch@${version}`)
53+ // .toString()
54+ // .trim() !== ''
55+ // );
56+ // });
57+ // exec('node scripts/update-examples.js');
58+ // },
5959 slack : {
6060 // disable slack notification for `prepared` lifecycle.
6161 // Ship.js will send slack message only for `releaseSuccess`.
@@ -96,13 +96,13 @@ module.exports = {
9696 } ,
9797} ;
9898
99- function waitUntil ( checkFn ) {
100- return new Promise ( resolve => {
101- const intervalId = setInterval ( async ( ) => {
102- if ( await checkFn ( ) ) {
103- clearInterval ( intervalId ) ;
104- resolve ( ) ;
105- }
106- } , 3000 ) ;
107- } ) ;
108- }
99+ // function waitUntil(checkFn) {
100+ // return new Promise(resolve => {
101+ // const intervalId = setInterval(async () => {
102+ // if (await checkFn()) {
103+ // clearInterval(intervalId);
104+ // resolve();
105+ // }
106+ // }, 3000);
107+ // });
108+ // }
0 commit comments