aleksandr-m / gitflow-maven-plugin

The Git-Flow Maven Plugin supports various Git workflows, including GitFlow and GitHub Flow. This plugin runs Git and Maven commands from the command line.
https://aleksandr-m.github.io/gitflow-maven-plugin/
Apache License 2.0
493 stars 181 forks source link

Question about producing release and hotfixes from support branches #253

Closed stephanedaviet closed 3 years ago

stephanedaviet commented 4 years ago

From my point of view, support branches is equivalent to master but for legacy (supported) versions. I then expect all Maven Git Flow plugin to be able to handle the flow towards a support branch as the production one.

I have tested this command without success: mvn gitflow:hotfix-finish -DuseSnapshotInHotfix=true -DgitFlowConfig.productionBranch=support/1.0.0 -DskipMergeDevBranch=true to finish a hotfix on my branch support/1.0.0 without merging in on a dev branch (no dev branch on support version). But the plugin keep doing actions toward master.

Am I doing something wrong?

aleksandr-m commented 4 years ago

@stephanedaviet You need to start hotfix from the support branch.

aleksandr-m commented 3 years ago

Feel free to re-open if you still experiencing some issues with this.

stephanedaviet commented 3 years ago

I confirm that the bug is gone in my latest test with your advice. Thanks.