Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
update(release): resets changes on abort
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Messerle committed Jul 7, 2015
1 parent 4011df9 commit d3416df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' };
Expand Down

0 comments on commit d3416df

Please sign in to comment.