File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -544,6 +544,7 @@ export function release(done) {
544544 '!settings.json' ,
545545 '!views.json' ,
546546 '!modules.json' ,
547+ '!widgets.json' ,
547548 '!manifest.json' ,
548549 '!.idea/**' ,
549550 '!.git/**' ,
@@ -559,6 +560,9 @@ export function release(done) {
559560 '!psalm.xml' ,
560561 '!update/structure.php' ,
561562 '!update/settings.php' ,
563+ '!update/modules.php' ,
564+ '!update/views.php' ,
565+ '!update/widgets.php' ,
562566 '!**/*.(lock|phar|log|zip|bak|jar|txt)' ,
563567 '!**/~*' ,
564568 '!vendor/tecnickcom/tcpdf/examples/**' ,
@@ -635,6 +639,13 @@ export function release(done) {
635639 bufferStream . push ( null ) ;
636640 archive . append ( bufferStream , { name : 'modules.json' } ) ;
637641
642+ // Aggiunta del file per il controllo dei widget
643+ bufferStream = new Readable ( ) ;
644+ bufferStream . push ( shell . exec ( 'php update/widgets.php' , {
645+ silent : true
646+ } ) . stdout ) ;
647+ bufferStream . push ( null ) ;
648+ archive . append ( bufferStream , { name : 'widgets.json' } ) ;
638649
639650 // Aggiunta del commit corrente nel file REVISION
640651 bufferStream = new Readable ( ) ;
You can’t perform that action at this time.
0 commit comments