When the version update is skipped it doesn't change the poms but still issues a commit after. This commit fails because there are no changes.
[ERROR] Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.21.0:release-start (default-cli) on project xxx-parent: Failed cmd ['git'] with args [[commit, -a, -m, [RELEASE]Update versions for release]], bad exit code [1]. Out: [ [ERROR] On branch release/1.10 [ERROR] nothing to commit, working tree clean [ERROR] ]
The final result is correct. That is the release branch is created, the version is not changed and there are no commits. But the error in the console looks ugly and it stops the process to continue with other goals
When the version update is skipped it doesn't change the poms but still issues a commit after. This commit fails because there are no changes.
[ERROR] Failed to execute goal com.amashchenko.maven.plugin:gitflow-maven-plugin:1.21.0:release-start (default-cli) on project xxx-parent: Failed cmd ['git'] with args [[commit, -a, -m, [RELEASE]Update versions for release]], bad exit code [1]. Out: [ [ERROR] On branch release/1.10 [ERROR] nothing to commit, working tree clean [ERROR] ]The final result is correct. That is the release branch is created, the version is not changed and there are no commits. But the error in the console looks ugly and it stops the process to continue with other goals