Skip to content

release-start fails with -DskipUpdateVersion=true #408

Description

@pgarcia-sonoc

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions