Skip to content

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

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).

Activity

  1. asbjornu commented on Feb 21, 2025

    @asbjornu
    Member

    Sounds good to me!

  2. added this to the 6.2.x milestone on Feb 26, 2025
  3. modified the milestones: 6.2.x, 6.2.0 on Apr 1, 2025
  4. gittools-bot commented on Apr 1, 2025

    @gittools-bot
    Contributor

    🎉 This issue has been resolved in version 6.2.0 🎉
    The release is available on:

    Your GitReleaseManager bot 📦🚀

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions