Skip to content

[Feature]: Support for dotted versions of the GitVersion config files by default #4431

@Bi0T1N

Description

@Bi0T1N

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

GitVersion package

GitVersion.Tool

GitVersion version

current main

Operating system

N/A

What are you seeing?

Currently only GitVersion.yml and GitVersion.yaml are searched if no config filename is specified on the command-line. Many other tools follow a convention of having a leading dot for their configuration files, e.g. .gitignore, .editorconfig, .gitattributes, etc.

What is expected?

Look for the following configuration files by default: GitVersion.yml, GitVersion.yaml, .GitVersion.yml and .GitVersion.yaml

Steps to Reproduce

Run gitversion and have your configuration only in a dotted config file (.GitVersion.yml or .GitVersion.yaml).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions