Skip to content

Configure outcome when previous artifact is not found #863

Open
@razvanz

Description

@razvanz

I have a setup where the patch release version is automatically incremented during the release process without it being set in the version.sbt file. I assumed that mimaFailOnNoPrevious would account for the situation when the previous artifact is not found, but it does not. This leads to a situation where I need to disable the compatibility check for the first major release and re-enable it right after, which is an annoying and error-prone affair.

Would it be possible to have the compatibility check succeed if a previous artifact is not found? If not, how about adding a new configuration option, mimaFailOnNotFound := true/false?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions