Hi! Is it kindly possible to see the project? My pipeline is not working and i think that is due to my minimal knowledge of pipelines, thank u very much!
It seems regardless from which branch we are committing the code, the template which we select will decide the version increment whether minor or patch. I tried to commit from Bugfix branch and selected feature.md, it increments the minor version and not patch version
the minor or patch version is incremented based on [+semver:minor] or [+semver:patch]. So if you select the incorrect md file then incorrect version will be updated. hope that clarifies.
In the Tag attribute you can add prefix. More details about configurations you can read here - gitversion.net/docs/reference/configuration I made this video to understand basics of gitversion usage.
Link for those yml files shown in the video would be nice :)
Hi! Is it kindly possible to see the project? My pipeline is not working and i think that is due to my minimal knowledge of pipelines, thank u very much!
It seems regardless from which branch we are committing the code, the template which we select will decide the version increment whether minor or patch. I tried to commit from Bugfix branch and selected feature.md, it increments the minor version and not patch version
the minor or patch version is incremented based on [+semver:minor] or [+semver:patch]. So if you select the incorrect md file then incorrect version will be updated. hope that clarifies.
@@raaviblog105 really? That's not good. Can't those rules be defined on GitVersion.yml instead?
is this only for .NET?
How to update major one?
For major, create a manual tag to increment it.
@@raaviblog105 I'm totally new to this plz make a small video or plz tell me briefly.
And also
Can we add a module name as a prefix? (Like Cnt1.2.1)
@@raaviblog105 can we use this method for any type of projects like Java or Asp.Net ?
In the Tag attribute you can add prefix. More details about configurations you can read here - gitversion.net/docs/reference/configuration
I made this video to understand basics of gitversion usage.
It can be used for any project. you can use it with different build servers - gitversion.net/docs/reference/build-servers/