Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow merge or rebase in mergeStrategy #814

Open
sarahdayan opened this issue May 12, 2020 · 0 comments
Open

Allow merge or rebase in mergeStrategy #814

sarahdayan opened this issue May 12, 2020 · 0 comments

Comments

@sarahdayan
Copy link
Member

Is your feature request related to a problem? Please describe.

When setting your mergeStrategy to toReleaseBranch, Ship.js creates a merge commit in the develop branch (merges master back). This creates a messy history, and doesn't make both branches exactly equal (same head, same tag) at a given moment, which is what one may want.

Describe the solution you'd like

It would be nice to be able to specify whether we want to merge or rebase:

module.exports = {
  mergeStrategy: {
    toReleaseBranch: {
      develop: 'master',
    },
    mode: 'rebase', // or 'merge'
  },
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant