Skip to content

dotnet Tool: Named Config file throws warning if Working and Repo root directories are the same #1808

@pianomanjh

Description

@pianomanjh

GitVersion.Tool 5.0.1

If I have a named config file in the root of my repository, and attempt to specify it, an exception is thrown. For example:
dotnet gitversion /config ./myGitVersion.yml
throws a warning:
Ambiguous config file selection from 'C:\Projects\MyRepo\GitVersion-foobar.yml' and 'C:\Projects\MyRepo\GitVersion-foobar.yml'

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