Skip to content

Commit

Permalink
always master on locale, add support to push remote branch other than…
Browse files Browse the repository at this point in the history
… master
  • Loading branch information
phoenixlzx committed Jan 21, 2016
1 parent 301ac83 commit 377d567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var commit = function(cmdPrefix, msg, nopush) {
if (config['deploy'].s3 && config['deploy'].s3.enabled) {
return deploy_s3();
}
exec(cmdPrefix + 'push ' + config['deploy'].repo + ' ' + config['deploy'].branch, function(err) {
exec(cmdPrefix + 'push -f ' + config['deploy'].repo + ' master:' + config['deploy'].branch, function(err) {
if (err) {
console.error('Unable to push changes: ' + err);
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minori",
"version": "0.0.33",
"version": "0.0.34",
"description": "Minori is a static Wiki site generator",
"author": "Phoenix Nemo <i@phoenixlzx.com>",
"bin": {
Expand Down

0 comments on commit 377d567

Please sign in to comment.