From 5f326fdc030418229b70cad67553c564fb9f96e9 Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Tue, 4 Aug 2015 11:38:59 +0200 Subject: [PATCH] Clean up the references.d.ts file before bumping the version --- build/version.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/version.js b/build/version.js index 96f24bf..8cbc5c4 100644 --- a/build/version.js +++ b/build/version.js @@ -14,11 +14,11 @@ function getPackageJsonVersion() { gulp.task('version-bump', function () { var args = minimist(process.argv); - + var options = {}; if (semver.valid(args.version)) options.version = args.version; else options.type = args.version; - + return gulp.src(['./package.json']) .pipe(bump(options).on('error', gutil.log)) .pipe(gulp.dest('./')); @@ -45,6 +45,7 @@ gulp.task('version-push-tags', function (cb) { gulp.task('version', function (callback) { runSequence( + 'postpublish', 'version-bump', 'version-commit', 'version-tag',