From 1c3b409d1297f9d43acdd344d383674ccba27d21 Mon Sep 17 00:00:00 2001 From: Hyunje Alex Jun Date: Sat, 3 Oct 2015 21:41:19 +0900 Subject: [PATCH] Remove 'bump' and 'release' tasks from gulpfile.js There is only one JSON left for the project and it's better to bump the version manually. --- gulpfile.js | 19 ------------------- package.json | 1 - 2 files changed, 20 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 0768e7e..da9904b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,6 @@ var gulp = require('gulp') , browserify = require('browserify') , buffer = require('vinyl-buffer') - , bump = require('gulp-bump') , connect = require('gulp-connect') , del = require('del') , eslint = require('gulp-eslint') @@ -102,24 +101,6 @@ gulp.task('css:min', ['clean:css:min'], function () { .pipe(gulp.dest('./dist/css')); }); -function bumpType() { - if (gulp.env.major) { - return 'major'; - } else if (gulp.env.minor) { - return 'minor'; - } else { - return 'patch'; - } -} - -gulp.task('bump', function () { - gulp.src('./*.json') - .pipe(bump({type: bumpType()})) - .pipe(gulp.dest('./')); -}); - -gulp.task('release', ['bump', 'build']); - gulp.task('build', ['js', 'js:min', 'css', 'css:min']); gulp.task('connect', ['build'], function () { diff --git a/package.json b/package.json index 3e626b4..08b2e1a 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "del": "^2.0.2", "event-stream": "^3.3.1", "gulp": "^3.9.0", - "gulp-bump": "^1.0.0", "gulp-connect": "^2.2.0", "gulp-eslint": "^1.0.0", "gulp-insert": "^0.5.0",