-
Notifications
You must be signed in to change notification settings - Fork 655
Closed
Description
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
6.0.5+Branch.main.Sha.c78e7a3f34e0afe6ca0a3b4a03218f1b1280d434
Operating system
Windows
What are you seeing?
Hi there,
when I want to override the config for strategies I receive the following error:
Unhandled exception. GitVersion.WarningException: Could not parse /overrideconfig option: strategies=mainline. Unsupported 'key'.
at GitVersion.ArgumentParser.ParseOverrideConfig(Arguments arguments, IReadOnlyCollection`1 values) in /_/src/GitVersion.App/ArgumentParser.cs:line 463
What is expected?
I expect to be able to pass in the strategies as array. Later I want to override my config using the azure pipelines task.
Steps to Reproduce
I run the following command on my main branch:
gitversion . /output json /output buildserver /overrideconfig mode=ContinuousDelivery /overrideconfig major-version-bump-message="^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([\w\s,\/\\-]*\))?(!:|:.*\n\n((.+\n)+\n)?BREAKING CHANGE:\s.+)" /overrideconfig minor-version-bump-message="^(feat)(\([\w\s,\/\\-]*\))?:" /overrideconfig patch-version-bump-message="^(build|chore|ci|docs|fix|perf|refactor|revert|style|test)(\([\w\s,\/\\-]*\))?:" /overrideconfig strategies=mainline
RepositoryFixture Test
No response