mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Release: fix quotes for releasing on Windows
This commit is contained in:
parent
cc16f11854
commit
51c29dc1fe
@ -94,9 +94,10 @@ module.exports = function( Release, files, complete ) {
|
||||
fs.writeFileSync( Release.dir.dist + "/bower.json", generateBower() );
|
||||
|
||||
console.log( "Adding files to dist..." );
|
||||
Release.exec( "git add .", "Error adding files." );
|
||||
|
||||
Release.exec( "git add -A", "Error adding files." );
|
||||
Release.exec(
|
||||
"git commit -m 'Release " + Release.newVersion + "'",
|
||||
"git commit -m \"Release " + Release.newVersion + "\"",
|
||||
"Error committing files."
|
||||
);
|
||||
console.log();
|
||||
@ -104,7 +105,7 @@ module.exports = function( Release, files, complete ) {
|
||||
console.log( "Tagging release on dist..." );
|
||||
Release.exec( "git tag " + Release.newVersion,
|
||||
"Error tagging " + Release.newVersion + " on dist repo." );
|
||||
Release.tagTime = Release.exec( "git log -1 --format='%ad'",
|
||||
Release.tagTime = Release.exec( "git log -1 --format=\"%ad\"",
|
||||
"Error getting tag timestamp." ).trim();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user