wp-advads 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ function updateReadme(next) {
|
|
|
33
33
|
if (null !== regex) {
|
|
34
34
|
regex = regex.groups
|
|
35
35
|
content = content.replace(`${regex.prefix}${regex.version}`, `${regex.prefix} ${pluginData.semver.getNextVersionString()}`)
|
|
36
|
-
pluginData.commitMessages.push('update
|
|
36
|
+
pluginData.commitMessages.push('update version in readme.txt')
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
return content
|
|
@@ -90,7 +90,7 @@ function updatePluginFiles(next) {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
if(update) {
|
|
93
|
-
pluginData.commitMessages.push('update
|
|
93
|
+
pluginData.commitMessages.push('update version in ' + fileName)
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
return content
|
|
@@ -187,7 +187,7 @@ function writeToChangelog(next) {
|
|
|
187
187
|
].join('\n')
|
|
188
188
|
)
|
|
189
189
|
|
|
190
|
-
pluginData.commitMessages.push('
|
|
190
|
+
pluginData.commitMessages.push('add changelog to changelog.txt')
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
return content
|
|
@@ -216,7 +216,7 @@ function writeToReadme(next) {
|
|
|
216
216
|
].join('\n')
|
|
217
217
|
)
|
|
218
218
|
|
|
219
|
-
pluginData.commitMessages.push('
|
|
219
|
+
pluginData.commitMessages.push('add changelog to readme.txt')
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
return content
|
|
@@ -29,7 +29,7 @@ export function updateComposer(next) {
|
|
|
29
29
|
execCommand('composer install -o -a -n --no-dev --no-scripts', function() {
|
|
30
30
|
fs.renameSync('./vendor', './packages')
|
|
31
31
|
execCommand('composer install --no-scripts', function() {
|
|
32
|
-
pluginData.commitMessages.push('update
|
|
32
|
+
pluginData.commitMessages.push('update 3rd party dependecies and composer dump-autoloader')
|
|
33
33
|
onSameLine(`${logSymbols.success} composer updated`)
|
|
34
34
|
next()
|
|
35
35
|
})
|
|
@@ -29,7 +29,7 @@ export function wpPot( next ) {
|
|
|
29
29
|
execCommand(
|
|
30
30
|
[ 'wp', 'i18n', 'make-pot', rootPath, `${rootPath}${output}${file} --domain=${domain} --exclude=${exclude.join(',')}` ].join(' '),
|
|
31
31
|
() => {
|
|
32
|
-
pluginData.commitMessages.push('update
|
|
32
|
+
pluginData.commitMessages.push('update POT file')
|
|
33
33
|
console.log( logSymbols.success + ' POT file successfully generated!' )
|
|
34
34
|
next()
|
|
35
35
|
}
|