Skip to content

Commit

Permalink
Build: append "+compat" to tag version and jQuery.fn.jquery
Browse files Browse the repository at this point in the history
Fixes gh-2269
Close gh-2270
  • Loading branch information
timmywil committed May 7, 2015
1 parent 590eff6 commit d18b645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/release.js
Expand Up @@ -24,12 +24,12 @@ module.exports = function( Release ) {
* The tag for compat is different * The tag for compat is different
* This sets a different new version for the source repo, * This sets a different new version for the source repo,
* but after building with the correct tag * but after building with the correct tag
* e.g. 3.0.0-compat * e.g. 3.0.0+compat
*/ */
_createTag: function( paths ) { _createTag: function( paths ) {
Release.distVersion = Release.newVersion; Release.distVersion = Release.newVersion;
Release.newVersion = Release.newVersion Release.newVersion = Release.newVersion
.replace( /(\d+\.\d+\.\d+)/, "$1-compat" ); .replace( /(\d+\.\d+\.\d+)/, "$1+compat" );
return createTag( paths ); return createTag( paths );
}, },
/** /**
Expand Down
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -11,7 +11,7 @@ define([
], function( deletedIds, slice, concat, push, indexOf, class2type, toString, hasOwn, support ) { ], function( deletedIds, slice, concat, push, indexOf, class2type, toString, hasOwn, support ) {


var var
version = "@VERSION", version = "@VERSION+compat",


// Define a local copy of jQuery // Define a local copy of jQuery
jQuery = function( selector, context ) { jQuery = function( selector, context ) {
Expand Down

0 comments on commit d18b645

Please sign in to comment.