Replies: 3 comments 3 replies
-
In my experience this is some sort of issue with your yaml. Is this the full yaml? |
Beta Was this translation helpful? Give feedback.
3 replies
-
I had the same error, invalid json. In my case I was missing the regex on each branch and it seemed like the next version calculator failed silently and produced an invalid json. I would suggest to test your regex and make sure they work for your branches. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also had a similar issue and in my case i was using an invalid variable on
a label definition, but with such a small yaml most of the configurations
likely come from the default template...
A sexta, 6/06/2025, 10:59, Kjell Olav Håland ***@***.***>
escreveu:
… I had the same error, invalid json. In my case I was missing the regex on
each branch and it seemed like the next version calculator failed silently
and produced an invalid json. I would suggest to test your regex and make
sure they work for your branches.
—
Reply to this email directly, view it on GitHub
<#4558 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMPWJVW3HIZ4JIH25TYFEL3CFJ6XAVCNFSM6AAAAAB6CUWG5SVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMZYG44TMNA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I just wanted to ask if someone out there had an experience on how to fix the error "GitVersion output is not valid JSON." This is happening when merging the main into a feature branch. Below is my config in YAML
error
In the pipeline
GitVersion yaml
Is there something I need to change in a config, or is there something wrong with my GitVersion yaml?
Beta Was this translation helpful? Give feedback.
All reactions