File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ 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" , "jquery-compat-dist" ) ,
78 // These files are included with the distrubtion
89 files = [
910 "src" ,
@@ -16,8 +17,6 @@ module.exports = function( Release, complete ) {
1617 * Clone the distribution repo
1718 */
1819 function clone ( ) {
19- var distRemote = Release . remote . replace ( "jquery" , "jquery-compat-dist" ) ;
20-
2120 Release . chdir ( Release . dir . base ) ;
2221 Release . dir . dist = Release . dir . base + "/dist" ;
2322
@@ -96,7 +95,7 @@ module.exports = function( Release, complete ) {
9695 Release . chdir ( Release . dir . dist ) ;
9796
9897 console . log ( "Pushing release to dist repo..." ) ;
99- Release . exec ( "git push origin master --tags" ,
98+ Release . exec ( "git push " + distRemote + " master --tags",
10099 "Error pushing master and tags to git repo." ) ;
101100
102101 // Set repo for npm publish
You can’t perform that action at this time.
0 commit comments