automate version updating

This commit is contained in:
Matt Walsh
2021-01-04 11:58:58 -06:00
parent b003015e44
commit 52aa246f28
9 changed files with 582 additions and 297 deletions

View File

@@ -1,4 +1,17 @@
const gulp = require('gulp');
const bump = require('gulp-bump');
gulp.task('update-vendor', require('./gulp/update-vendor'));
gulp.task('publish-frontend', require('./gulp/publish-frontend'));
gulp.task('publish-frontend', require('./gulp/publish-frontend'));
gulp.task('bump_patch', () => gulp.src('./package.json')
.pipe(bump())
.pipe(gulp.dest('./')));
gulp.task('bump_minor', () => gulp.src('./package.json')
.pipe(bump({ type: 'minor' }))
.pipe(gulp.dest('./')));
gulp.task('bump_major', () => gulp.src('./package.json')
.pipe(bump({ type: 'major' }))
.pipe(gulp.dest('./')));