@x-wp/semantic-release-config 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,6 @@ class Generator {
|
|
62
62
|
assets: ghAssets,
|
63
63
|
},
|
64
64
|
]);
|
65
|
-
console.log(JSON.stringify(srConfig, null, 2));
|
66
65
|
return srConfig;
|
67
66
|
}
|
68
67
|
parsePkgConfig({ name, slug, wp, changelog, ...config }) {
|
@@ -83,6 +82,7 @@ class Generator {
|
|
83
82
|
commitOpts: config.commitOpts || def.commitOpts,
|
84
83
|
wp: {
|
85
84
|
slug: slug,
|
85
|
+
type: config.type || def.type,
|
86
86
|
withAssets: wp?.withAssets || this.pathExists('.wordpress-org', 'assets'),
|
87
87
|
withReadme: wp?.withReadme || this.pathExists('.wordpress-org', 'readme.txt'),
|
88
88
|
withVersionFile: wp?.withVersionFile || def.wp.withVersionFile,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generator.service.js","sourceRoot":"","sources":["../../lib/services/generator.service.ts"],"names":[],"mappings":";;;;;;AACA,0DAA6B;AAC7B,wDAA0B;AAG1B,MAAa,SAAS;IAED;IADnB,YACmB,QAAgD;QAAhD,aAAQ,GAAR,QAAQ,CAAwC;IAChE,CAAC;IAEJ,QAAQ,CAAC,OAAiC;QACxC,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,GAAG,EAAE,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAE9D,MAAM,QAAQ,GAAqB;YACjC,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,EAAE;SACZ,CAAC;QAEF,IAAI,GAAG,CAAC,SAAS,KAAK,KAAK,EAAE;YAC3B,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC;gBACpB,6BAA6B;gBAC7B;oBACE,aAAa,EAAE,GAAG,CAAC,SAAS;iBAC7B;aACF,CAAC,CAAC;SACJ;QAED,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC;YACpB,mCAAmC;YACnC,GAAG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