@@ -4,7 +4,6 @@ require("dotenv").config();
44const path = require ( "path" ) ;
55const readPkg = require ( "read-pkg" ) ;
66const globby = require ( "globby" ) ;
7- const execa = require ( "execa" ) ;
87
98if ( argv . require ) {
109 if ( Array . isArray ( argv . require ) ) {
@@ -23,7 +22,6 @@ const toPublish = [
2322 "webiny-app" ,
2423 "webiny-app-admin" ,
2524 "webiny-app-cms" ,
26- "webiny-cms-editor" ,
2725 "webiny-ui" ,
2826 "webiny-compose" ,
2927 "webiny-data-extractor" ,
@@ -64,11 +62,12 @@ const packages = globby
6462const config = {
6563 preview : argv . preview || false ,
6664 branch : argv . branch || "master" ,
67- ci : true ,
65+ ci : false ,
6866 tagFormat : pkg => pkg . name + "@v${version}" ,
6967 packages,
7068 plugins : [
7169 wsr . npmVerify ( ) ,
70+ wsr . githubVerify ( ) ,
7271 wsr . analyzeCommits ( {
7372 isRelevant : ( pkg , commit ) => {
7473 if ( commit . message . match ( / a f f e c t s : ( (?: .+ [ \n \r ] ? ) + ) / gm) ) {
@@ -91,22 +90,7 @@ const config = {
9190 next ( ) ;
9291 } ,
9392 wsr . npmPublish ( ) ,
94- // This following plugin is only for Webiny monorepo
95- async ( { packages, config } , next ) => {
96- if ( config . preview ) {
97- return ;
98- }
99-
100- for ( let i = 0 ; i < packages . length ; i ++ ) {
101- const pkg = packages [ i ] ;
102- if ( ! pkg . nextRelease || ! pkg . nextRelease . gitTag ) {
103- continue ;
104- }
105-
106- await execa ( "git" , [ "tag" , pkg . nextRelease . gitTag ] ) ;
107- }
108- next ( ) ;
109- }
93+ wsr . githubPublish ( )
11094 ]
11195} ;
11296
0 commit comments