From d3416df503214216a7a5d818f5a48696d0311bb9 Mon Sep 17 00:00:00 2001 From: Robert Messerle Date: Tue, 7 Jul 2015 14:25:23 -0700 Subject: [PATCH] update(release): resets changes on abort --- release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' };