Skip to content

Gitflow Integration / Branch Switching #188

@jakehschwartz

Description

@jakehschwartz

I wanted to use this plugin for creating releases (and release branches) using the Gitflow release strategy. I have forked the project and created some new ReleaseSteps that would allow for changing branches. The Gitflow releaseProcess I then use is as follows

releaseProcess := Seq[ReleaseStep](
  checkSnapshotDependencies,
  inquireVersions,
  setReleaseVersion,
  commitReleaseVersion,
  cutBranch,                                # Creates a new branch
  pushChanges,
  checkoutPrevious,                   # Checkouts the previous branch
  setNextVersion,
  commitNextVersion,
  pushChanges
)

Would you be interested in having this as part of the repository?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions