From 3a4a95c7b62cd86dad7c0b47df073f6c44ae6dec Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Fri, 8 Jan 2016 13:20:19 -0500 Subject: [PATCH] Release: allow local and github dists --- build/release/dist.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = [ -- 2.39.5