Switch go Gulp 4 for builds

This commit is contained in:
Fedor A. Fetisov 2021-01-30 00:00:44 +03:00
parent fd3f28bcc2
commit 08367efd8d
2 changed files with 6 additions and 8 deletions

View File

@ -16,14 +16,12 @@ gulp.task('prepare-release', function() {
.pipe(tar('purge-history-plugin-' + version + '.tar'))
.pipe(gzip())
)
.pipe(chmod(644))
.pipe(chmod(0644))
.pipe(gulp.dest('release'));
});
// Builds and packs plugins sources
gulp.task('default', ['prepare-release'], function() {
// The "default" task is just an alias for "prepare-release" task.
});
gulp.task('default', gulp.series('prepare-release'));
/**
* Returns files stream with the plugin sources.

View File

@ -1,12 +1,12 @@
{
"version": "1.0.0",
"devDependencies": {
"gulp": "~3.8.10",
"gulp": "~4.0.0",
"event-stream": "~3.2.1",
"gulp-zip": "~2.0.2",
"gulp-tar": "~1.3.2",
"gulp-tar": "~3.1.0",
"gulp-gzip": "~0.0.8",
"gulp-chmod": "~1.2.0",
"gulp-chmod": "~3.0.0",
"gulp-rename": "~1.2.0"
}
}
}