Replies: 2 comments 3 replies
-
Hmmm, just found this in https://github.com/GitTools/GitVersion/blob/main/BREAKING_CHANGES.md
What is the current default config then? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Please try the following TrunkBased workflow configuration (gitversion.yaml):
workflow:
```
TrunkBased/preview1
```
May I ask you to create a pull-request to update the documentation?
I will see what I can do.
Is this really a valid regular expression?
```
major-version-bump-message:
"^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\\([\\w\\s-,/\\\\]*\\))?(!:|:.*\\n\\n((.+\\n)+\\n)?BREAKING CHANGE:\\s.+)"
minor-version-bump-message: "^(feat)(\\([\\w\\s-,/\\\\]*\\))?:"
patch-version-bump-message: "^(fix|perf)(\\([\\w\\s-,/\\\\]*\\))?:"
```
It was copied verbatim from your docs. It looks pretty ok to me.
The the supported workflows can be found at: Reference - Configuration
Thanks, will study it some more, perhaps during the weekend.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was looking to enable GitVersion for my repository where I use conventional style commit message.
Your docs states that we should use the following configuration:
However when I do so I get the following error when running GitVersion on the command line I get the following error:
Full console output
Beta Was this translation helpful? Give feedback.
All reactions