aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/release/dist.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/release/dist.js b/build/release/dist.js
index 32053eafb..6439f6b31 100644
--- a/build/release/dist.js
+++ b/build/release/dist.js
@@ -4,7 +4,10 @@ module.exports = function( Release, complete ) {
fs = require( "fs" ),
shell = require( "shelljs" ),
pkg = require( Release.dir.repo + "/package.json" ),
- distRemote = Release.remote.replace( "jquery.git", "jquery-dist.git" ),
+ distRemote = Release.remote
+
+ // For local and github dists
+ .replace( /jquery(\.git|$)/, "jquery-dist$1" ),
// These files are included with the distribution
files = [