Use GitVersion (Mainline development mode) for semantic versioning in Azure DevOps using PR Template

  Рет қаралды 5,681

Raaviblog

Raaviblog

2 жыл бұрын

This is tested for Squash Pull Request Merge Type.
There are four different ways to consume GitVersion itself. You can find each of these options - gitversion.net/docs/usage/
Install GitVersion on Azure DevOps Self hosted agent - gitversion.net/docs/usage/cli...
OR
Install Azure DevOps extension - marketplace.visualstudio.com/...

Пікірлер: 14
@user-cf1wr6pe7r
@user-cf1wr6pe7r Жыл бұрын
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!
@cai0
@cai0 9 ай бұрын
Link for those yml files shown in the video would be nice :)
@SathishKumar-pm2bj
@SathishKumar-pm2bj Жыл бұрын
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
@raaviblog105
@raaviblog105 Жыл бұрын
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.
@cai0
@cai0 9 ай бұрын
@@raaviblog105 really? That's not good. Can't those rules be defined on GitVersion.yml instead?
@pechan2
@pechan2 6 ай бұрын
is this only for .NET?
@UCABVideos
@UCABVideos 2 жыл бұрын
How to update major one?
@raaviblog105
@raaviblog105 2 жыл бұрын
For major, create a manual tag to increment it.
@UCABVideos
@UCABVideos 2 жыл бұрын
@@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)
@UCABVideos
@UCABVideos 2 жыл бұрын
@@raaviblog105 can we use this method for any type of projects like Java or Asp.Net ?
@raaviblog105
@raaviblog105 2 жыл бұрын
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.
@raaviblog105
@raaviblog105 2 жыл бұрын
It can be used for any project. you can use it with different build servers - gitversion.net/docs/reference/build-servers/
Semantic Versioning, Docker and Azure Devops
1:46:45
Cornel Human
Рет қаралды 3,4 М.
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 13 МЛН
Khó thế mà cũng làm được || How did the police do that? #shorts
01:00
Control your GitHub releases with GitVersion and GitReleaseManager
49:21
Setting up and using Nuget Feed on Azure Devops
24:46
Deep Dive Dotnet
Рет қаралды 17 М.
How to Create a CI/CD Pipeline in Azure DevOps | Azure DevOps Tutorial
54:22
BestDotNetTraining
Рет қаралды 322 М.
How to Manage Releases with Semantic Versioning and Git Tags
43:14
Azure Repos | Azure DevOps Tutorial | An IT Professional
27:11
An IT Professional
Рет қаралды 8 М.
Azure DevOps Pipelines with Terraform and Stages
22:26
Travis Roberts
Рет қаралды 55 М.
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 13 МЛН