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
487 stars 180 forks source link

Missing backmerge with gitlow:release goal #374

Closed alexist closed 1 year ago

alexist commented 1 year ago

Hi,

The goal gitflow:release doesn't back merge into develop after tag is created.

The main issue is develop branch doesn't contains tag.

Release-finish and hotfix-finish do a back merge : https://github.com/aleksandr-m/gitflow-maven-plugin/blob/master/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowReleaseFinishMojo.java#L313

https://github.com/aleksandr-m/gitflow-maven-plugin/blob/master/src/main/java/com/amashchenko/maven/plugin/gitflow/GitFlowHotfixFinishMojo.java#L327

Is it possible to add back merge option in this goal ?

aleksandr-m commented 1 year ago

How it will look like? PR-s are welcome. :)

alexist commented 1 year ago

The PR https://github.com/aleksandr-m/gitflow-maven-plugin/pull/375 has been tested manually and in a CI/CD pipeline.

@aleksandr-m can you review the PR ?

aleksandr-m commented 1 year ago

1.20.0 is out.