diff --git a/release.js b/release.js index cfc689227ff..51ba35ed1db 100644 --- a/release.js +++ b/release.js @@ -8,7 +8,7 @@ var child_process = require('child_process'); var pkg = require('./package.json'); var oldVersion = pkg.version; - var abortCmds = [ 'git checkout master', 'rm abort push' ]; + var abortCmds = [ 'git reset --hard', 'git checkout master', 'rm abort push' ]; var pushCmds = [ 'rm abort push']; var cleanupCmds = []; var defaultOptions = { encoding: 'utf-8' };