Skip to content

Commit d18b645

Browse files
committed
Build: append "+compat" to tag version and jQuery.fn.jquery
Fixes gh-2269 Close gh-2270
1 parent 590eff6 commit d18b645

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ module.exports = function( Release ) {
2424
* The tag for compat is different
2525
* This sets a different new version for the source repo,
2626
* but after building with the correct tag
27-
* e.g. 3.0.0-compat
27+
* e.g. 3.0.0+compat
2828
*/
2929
_createTag: function( paths ) {
3030
Release.distVersion = Release.newVersion;
3131
Release.newVersion = Release.newVersion
32-
.replace( /(\d+\.\d+\.\d+)/, "$1-compat" );
32+
.replace( /(\d+\.\d+\.\d+)/, "$1+compat" );
3333
return createTag( paths );
3434
},
3535
/**

src/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define([
1111
], function( deletedIds, slice, concat, push, indexOf, class2type, toString, hasOwn, support ) {
1212

1313
var
14-
version = "@VERSION",
14+
version = "@VERSION+compat",
1515

1616
// Define a local copy of jQuery
1717
jQuery = function( selector, context ) {

0 commit comments

Comments
 (0)