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 ); }, /**