Switch to updatepulse
This commit is contained in:
+4
-2
@@ -44,14 +44,16 @@ gulp.task(
|
||||
|
||||
gulp.task('package-copy', () => {
|
||||
return gulp.src([
|
||||
(fs.existsSync('acf') ? 'acf/**/*' : null),
|
||||
'inc/**/*',
|
||||
'lib/**/*',
|
||||
(fs.existsSync('lib') ? 'lib/**/*' : null),,
|
||||
'vendor/**/*',
|
||||
'LICENSE',
|
||||
`${NAME}.php`,
|
||||
'readme.txt',
|
||||
(fs.existsSync('updatepulse.json') ? 'updatepulse.json' : null),
|
||||
'!vendor/**/node_modules/**/*',
|
||||
], {
|
||||
].filter(x => x), {
|
||||
base: './',
|
||||
encoding: false,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user