Skip to content

Commit

Permalink
fix: close issue #22
Browse files Browse the repository at this point in the history
  • Loading branch information
msanguineti committed Jul 17, 2019
1 parent 39a646d commit fc5399e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cmds/hotfix/finish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const handleFinish = async (argv: Arguments): Promise<void> => {
break
}
if (argv.usedev) {
exec(`git checkout master`)
exec(`git checkout ${argv.main}`)
exec(`git merge --ff-only ${argv.hotfixName}`)
}
switch (argv.deleteBranch) {
Expand Down
2 changes: 1 addition & 1 deletion src/cmds/release/finish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const handleFinish = async (argv: Arguments) => {
break
}
if (argv.usedev) {
exec(`git checkout master`)
exec(`git checkout ${argv.main}`)
// await git.checkout('master')
exec(`git merge --ff-only ${argv.release}/${argv.releaseName}`)
// await git.merge(['--ff-only', `${argv.release}/${argv.releaseName}`])
Expand Down

0 comments on commit fc5399e

Please sign in to comment.