aboutsummaryrefslogtreecommitdiffstats
path: root/build/release/dist.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/release/dist.js')
-rw-r--r--build/release/dist.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/release/dist.js b/build/release/dist.js
index 577eb6404..0b1e04a7f 100644
--- a/build/release/dist.js
+++ b/build/release/dist.js
@@ -130,7 +130,8 @@ module.exports = function( Release, files, complete ) {
Release.chdir( Release.dir.dist );
console.log( "Pushing release to dist repo..." );
- Release.exec( "git push " + distRemote + " master --tags",
+ Release.exec( "git push " + ( Release.isTest ? " --dry-run " : "" ) +
+ distRemote + " master --tags",
"Error pushing master and tags to git repo." );
// Set repo for npm publish