Skip to content

[Bug] ignore parameter does not ignore everything #3074

@ibvhefe

Description

@ibvhefe

Describe the bug

  1. Checkout the support branch of this project (Gitversion/support-branch)
  2. Change the GitVersion.yml to
mode: Mainline
branches: {}
ignore:
  sha: [ ]
  commits-before: 2023-04-10T01:00:00 #some date in the future
merge-message-formats: {}
  1. Run GitVersion

Expected Behavior

A version such as 0.1.0

Actual Behavior

The calculated version seems to be too high:

{
  "Major": 1,
  "Minor": 2,
  "Patch": 111
  ...
}

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