Skip to content

Commit 1bea08e

Browse files
committed
Build: Skip unit tests on second build
This is giving a "file in use" message on Windows, and we have already verified the unit tests succeed with the first build. When it fails here it's messy to back out the changes.
1 parent 2851ec8 commit 1bea08e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/release.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ var releaseVersion,
4040
steps(
4141
initialize,
4242
checkGitStatus,
43-
gruntBuild,
43+
function( next ) { gruntBuild( "default", next ); },
4444
updateVersions,
4545
tagReleaseVersion,
46-
gruntBuild,
46+
function( next ) { gruntBuild( "buildnounit", next ); },
4747
makeReleaseCopies,
4848

4949
publishToNPM,
@@ -146,8 +146,8 @@ function updateVersions( next ) {
146146
next();
147147
}
148148

149-
function gruntBuild( next ) {
150-
exec( gruntCmd, [], function( error, stdout ) {
149+
function gruntBuild( target, next ) {
150+
exec( gruntCmd, [ target || "default" ], function( error, stdout ) {
151151
if ( error ) {
152152
die( error + stderr );
153153
}

0 commit comments

Comments
 (0)