Switch go Gulp 4 for builds

This commit is contained in:
Fedor A. Fetisov 2021-01-30 00:01:30 +03:00
parent 0aa7e62a6e
commit 7ebb2f84ad
2 changed files with 5 additions and 7 deletions

View File

@ -16,14 +16,12 @@ gulp.task('prepare-release', function() {
.pipe(tar('operator-status-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

@ -2,11 +2,11 @@
"version": "0.4.0",
"devDependencies": {
"event-stream": "3.3.4",
"gulp": "^3.9.1",
"gulp-chmod": "~1.2.0",
"gulp": "^4.0.0",
"gulp-chmod": "~3.0.0",
"gulp-gzip": "~1.1.0",
"gulp-rename": "~1.2.2",
"gulp-tar": "~1.4.0",
"gulp-tar": "~3.1.0",
"gulp-zip": "~3.0.2"
}
}