Skip to content

Commit

Permalink
fix release tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Nov 4, 2016
1 parent 54e7d9c commit 549983d
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ gulp.task('release', function(callback) {
message: 'cannot build release as there are uncomitted changes'
});
} else {
sequence('build:dev', 'build:examples', 'test', 'bump', 'reload', 'build:edge', 'build:release', 'doc', 'changelog', callback);
sequence('build:dev', 'build:examples', 'test', 'bump', 'reload', 'build:release', 'doc', 'changelog', callback);
}
});
});
Expand All @@ -55,7 +55,7 @@ gulp.task('release:push', function(callback) {
message: 'cannot push release as it has not yet been committed'
});
} else {
sequence('tag', 'release:push:git', 'release:push:github', 'release:push:npm', 'release:push:docs', callback);
sequence('tag', 'release:push:git', 'release:push:npm', callback);
}
});
});
Expand All @@ -82,10 +82,6 @@ gulp.task('release:push:npm', function(callback) {
shell('npm publish', callback);
});

gulp.task('release:push:docs', function(callback) {
shell('../deploy-docs.sh', callback);
});

gulp.task('build:dev', function() {
return build(extend(extend({}, pkg), { version: pkg.version + '-dev' }));
});
Expand Down Expand Up @@ -131,7 +127,7 @@ gulp.task('watch', function() {

gulp.task('bump', function() {
return gulp.src(['package.json', 'bower.json'])
.pipe(bump({ type: process.argv[4] || 'patch' }))
.pipe(bump({ type: process.argv[4] || 'minor' }))
.pipe(gulp.dest('.'));
});

Expand Down

0 comments on commit 549983d

Please sign in to comment.