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

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 14

  • @cai0
    @cai0 ปีที่แล้ว +1

    Link for those yml files shown in the video would be nice :)

  • @Mi5B-e1t
    @Mi5B-e1t ปีที่แล้ว

    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!

  • @SathishKumar-pm2bj
    @SathishKumar-pm2bj 2 ปีที่แล้ว

    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  2 ปีที่แล้ว

      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 ปีที่แล้ว

      @@raaviblog105 really? That's not good. Can't those rules be defined on GitVersion.yml instead?

  • @pechan2
    @pechan2 11 หลายเดือนก่อน

    is this only for .NET?

  • @UCABVideos
    @UCABVideos 2 ปีที่แล้ว +1

    How to update major one?

    • @raaviblog105
      @raaviblog105  2 ปีที่แล้ว

      For major, create a manual tag to increment it.

    • @UCABVideos
      @UCABVideos 2 ปีที่แล้ว +1

      @@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 ปีที่แล้ว +1

      @@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/