From 8565f54257df78ac0555435b77f121c5bb826ce0 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Mon, 13 Jul 2015 14:45:40 -0400 Subject: [PATCH] Build: just tack on +compat to versions that may include labels --- build/release.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/release.js b/build/release.js index 42c2ad10e..81d46a3b8 100644 --- a/build/release.js +++ b/build/release.js @@ -28,8 +28,7 @@ module.exports = function( Release ) { */ _createTag: function( paths ) { Release.distVersion = Release.newVersion; - Release.newVersion = Release.newVersion - .replace( /(\d+\.\d+\.\d+)/, "$1+compat" ); + Release.newVersion = Release.newVersion + "+compat"; return createTag( paths ); }, /** -- 2.39.5