Permalink
Browse files

Remove gulp tag version

  • Loading branch information...
1 parent 893b9ce commit b5f71497e8cbf27b699d4677b039b128d7ded6c8 @geekjuice geekjuice committed Jun 17, 2015
Showing with 0 additions and 8 deletions.
  1. +0 −6 gulpfile.js
  2. +0 −2 package.json
View
@@ -3,15 +3,13 @@ var gulp = require('gulp');
var babel = require('gulp-babel');
var bump = require('gulp-bump');
var concat = require('gulp-concat');
-var filter = require('gulp-filter');
var header = require('gulp-header');
var minify = require('gulp-minify-css');
var plumber = require('gulp-plumber');
var prefixer = require('gulp-autoprefixer');
var rename = require('gulp-rename');
var uglify = require('gulp-uglify');
var sass = require('gulp-sass');
-var tagVersion = require('gulp-tag-version');
var umd = require('gulp-wrap-umd');
// Variables
@@ -76,13 +74,9 @@ gulp.task('css', function() {
var VERSIONS = ['patch', 'minor', 'major'];
for (var i = 0; i < VERSIONS.length; ++i){
(function(version) {
- var pkgFilter = filter('package.json');
gulp.task('version:' + version, function() {
gulp.src(['package.json', 'bower.json', 'component.json'])
.pipe(bump({type: version}))
- .pipe(pkgFilter)
- .pipe(tagVersion())
- .pipe(pkgFilter.restore())
.pipe(gulp.dest('.'));
});
})(VERSIONS[i]);
View
@@ -21,13 +21,11 @@
"gulp-babel": "^5.1.0",
"gulp-bump": "^0.3.0",
"gulp-concat": "^2.5.2",
- "gulp-filter": "^2.0.2",
"gulp-header": "^1.2.2",
"gulp-minify-css": "^1.1.6",
"gulp-plumber": "^1.0.1",
"gulp-rename": "^1.2.2",
"gulp-sass": "^2.0.1",
- "gulp-tag-version": "^1.2.1",
"gulp-uglify": "^1.2.0",
"gulp-wrap-umd": "^0.2.1"
}

0 comments on commit b5f7149

Please sign in to comment.