Skip to content

Commit

Permalink
Remove gulp tag version
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Hwang committed Jun 17, 2015
1 parent 893b9ce commit b5f7149
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]);
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit b5f7149

Please sign in to comment.