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.
Call to feature-finish fails when the feature branch has been already merged. It fails with:
[ERROR] Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.14.1-SNAPSHOT:feature-finish (default-cli) on project TestProject: feature-finish: On branch develop
[ERROR] Your branch is up to date with 'origin/develop'.
[ERROR]
[ERROR] nothing to commit, working tree clean
Steps To Reproduce:
1- Create a feature branch on the TestProject
2- Do some development on that feature branch
3- Simulate an "delivery" (possibly intermediate) by merging the feature branch into develop
4- Call feature-finish
Expected Result:
I would expect the feature-finish goal to:
1- Consider that it is a valid state for the feature branch.
2- Carry on with the rest of the process.
Description:
Call to
feature-finish
fails when the feature branch has been already merged. It fails with:Steps To Reproduce:
1- Create a
feature
branch on the TestProject 2- Do some development on thatfeature
branch 3- Simulate an "delivery" (possibly intermediate) by merging thefeature
branch intodevelop
4- Callfeature-finish
Expected Result:
I would expect the
feature-finish
goal to: 1- Consider that it is a valid state for thefeature
branch. 2- Carry on with the rest of the process.