mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Release: push dist to same remote as project
Conflicts: build/release/dist.js
This commit is contained in:
parent
f71d7f56e9
commit
5e5489cea5
@ -4,6 +4,7 @@ module.exports = function( Release, complete ) {
|
||||
fs = require( "fs" ),
|
||||
shell = require( "shelljs" ),
|
||||
pkg = require( Release.dir.repo + "/package.json" ),
|
||||
distRemote = Release.remote.replace( "jquery", "jquery-compat-dist" ),
|
||||
// These files are included with the distrubtion
|
||||
files = [
|
||||
"src",
|
||||
@ -16,8 +17,6 @@ module.exports = function( Release, complete ) {
|
||||
* Clone the distribution repo
|
||||
*/
|
||||
function clone() {
|
||||
var distRemote = Release.remote.replace( "jquery", "jquery-compat-dist" );
|
||||
|
||||
Release.chdir( Release.dir.base );
|
||||
Release.dir.dist = Release.dir.base + "/dist";
|
||||
|
||||
@ -96,7 +95,7 @@ module.exports = function( Release, complete ) {
|
||||
Release.chdir( Release.dir.dist );
|
||||
|
||||
console.log( "Pushing release to dist repo..." );
|
||||
Release.exec( "git push origin master --tags",
|
||||
Release.exec( "git push " + distRemote + " master --tags",
|
||||
"Error pushing master and tags to git repo." );
|
||||
|
||||
// Set repo for npm publish
|
||||
|
Loading…
Reference in New Issue
Block a user