From a4912be9ddfdeb42966a11277ab541f84323b072 Mon Sep 17 00:00:00 2001 From: Travis Clarke Date: Fri, 26 May 2017 16:52:32 -0700 Subject: [PATCH] refine bump regex for README --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index a90607d..6ce0745 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -71,7 +71,7 @@ gulp.task('bump-typings', function () { gulp.task('bump-readme', function () { gulp.src(['gitbook/READMEv3.md']) - .pipe(replace(/(v[124567890]\d*\.\d+\.)(\d+)/g, function (matches, match1, match2) { + .pipe(replace(/(\/v?[3]\.\d+\.)(\d+)/g, function (matches, match1, match2) { return match1 + (Number(match2) + 1); })) .pipe(gulp.dest('gitbook/'))