]> source.dussan.org Git - jquery.git/commitdiff
Build: append "+compat" to tag version and jQuery.fn.jquery
authorTimmy Willison <timmywillisn@gmail.com>
Wed, 6 May 2015 21:36:47 +0000 (14:36 -0700)
committerTimmy Willison <timmywillisn@gmail.com>
Thu, 7 May 2015 17:31:30 +0000 (10:31 -0700)
Fixes gh-2269
Close gh-2270

build/release.js
src/core.js

index c394eac32e1307c091fac92d75f28b299774129c..42c2ad10e844ca841591b26e52232da3fddc8c8f 100644 (file)
@@ -24,12 +24,12 @@ module.exports = function( Release ) {
                 * The tag for compat is different
                 * This sets a different new version for the source repo,
                 * but after building with the correct tag
-                * e.g. 3.0.0-compat
+                * e.g. 3.0.0+compat
                 */
                _createTag: function( paths ) {
                        Release.distVersion = Release.newVersion;
                        Release.newVersion = Release.newVersion
-                               .replace( /(\d+\.\d+\.\d+)/, "$1-compat" );
+                               .replace( /(\d+\.\d+\.\d+)/, "$1+compat" );
                        return createTag( paths );
                },
                /**
index 7626bb5ab2ddbdfc3f63d03567eb6866e221b72c..df70e63b6f3b381f7e35022c1ee590a1d7f9bbe5 100644 (file)
@@ -11,7 +11,7 @@ define([
 ], function( deletedIds, slice, concat, push, indexOf, class2type, toString, hasOwn, support ) {
 
 var
-       version = "@VERSION",
+       version = "@VERSION+compat",
 
        // Define a local copy of jQuery
        jQuery = function( selector, context ) {