From: Timmy Willison Date: Fri, 8 Jan 2016 18:20:19 +0000 (-0500) Subject: Release: allow local and github dists X-Git-Tag: 1.12.0~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3a4a95c7b62cd86dad7c0b47df073f6c44ae6dec;p=jquery.git Release: allow local and github dists --- 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 = [