Skip to content

Commit 47c21ef

Browse files
committed
Release: allow local and github dists
1 parent ae3229c commit 47c21ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/release/dist.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ module.exports = function( Release, complete ) {
44
fs = require( "fs" ),
55
shell = require( "shelljs" ),
66
pkg = require( Release.dir.repo + "/package.json" ),
7-
distRemote = Release.remote.replace( "jquery.git", "jquery-dist.git" ),
7+
distRemote = Release.remote
8+
9+
// For local and github dists
10+
.replace( /jquery(\.git|$)/, "jquery-dist$1" ),
811

912
// These files are included with the distribution
1013
files = [

0 commit comments

Comments
 (0)