Skip to content

Commit f919657

Browse files
committed
Build: Install shell dependencies in the right direcytory. Update trac instructions to point out that only minutes and seconds need to be changed. Fixes #8848 - Build: release.js fails to require shelljs/global.
(cherry picked from commit 62ae078)
1 parent f1a44a3 commit f919657

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build/release/release.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,9 @@ function gatherContributors() {
262262

263263
function updateTrac() {
264264
echo( newVersion.cyan + " was tagged at " + tagTime.cyan + "." );
265-
echo( "Close the " + newVersion.cyan + " Milestone with the above date and time." );
266-
echo( "Create the " + newVersion.cyan + " Version with the above date and time." );
265+
echo( "Close the " + newVersion.cyan + " Milestone." );
266+
echo( "Create the " + newVersion.cyan + " Version." );
267+
echo( "When Trac asks for date and time, match the above. Should only change minutes and seconds." );
267268
echo( "Create a Milestone for the next minor release." );
268269
}
269270

@@ -342,9 +343,7 @@ function bootstrap( fn ) {
342343
fs.mkdirSync( baseDir );
343344

344345
console.log( "Installing dependencies..." );
345-
require( "child_process" ).exec( "npm install shelljs colors", {
346-
cwd: baseDir
347-
}, function( error ) {
346+
require( "child_process" ).exec( "npm install shelljs colors", function( error ) {
348347
if ( error ) {
349348
console.log( error );
350349
return process.exit( 1 );

0 commit comments

Comments
 (0)