Auto Version Bumping and Deployments (SemVer, GitFlow, GitVersion, CI&CD)

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 14

  • @etiennedutoit7602
    @etiennedutoit7602 2 роки тому

    This is awesome man. Very well explained. Well done!

  • @raymond4146
    @raymond4146 Рік тому +2

    Which git desktop tool are you using in your video?

    • @gavingreenwood3880
      @gavingreenwood3880  Рік тому

      the tool that i am using is Source Tree. I been using it for a decant now, its a must: www.sourcetreeapp.com/

  • @kwb9872
    @kwb9872 10 місяців тому

    Thanks for providing this video.
    Is there a way to use/access the GitVersion data in C# so you can show them. Since my assembly is now synchronized, I can use its version. But are there options to get the branch or other details?
    GitInfo provides those as kind of generated class.
    Is there any way to get the version info also in the ClickOnce version as well?

    • @gavingreenwood3880
      @gavingreenwood3880  10 місяців тому +2

      i not sure what u mean by "ClickOnce" version, however yes it very easy to access all gitversion informaiotn form within ur dll/C# code
      have a look here: gitversion.net/docs/usage/msbuild
      Once ur dll is stamped ur u used the msbuild nuget, within the same dll/project u can simple do:
      var assemblyName = assembly.GetName().Name;
      var gitVersionInformationType = assembly.GetType("GitVersionInformation");

  • @nii-san5485
    @nii-san5485 9 місяців тому +1

    I believe ms is considering Releases to be "classic" now, as you can accomplish the same thing with deployment jobs in yaml pipeline. so deployment jobs + environments replaces release + deployment groups. very confusing

  • @liva236muzika
    @liva236muzika 2 роки тому +3

    I just wish you hadn't used this tool for GitFlow, but rather typed in git commands. Makes it all very confusing. And more drawings would have helped, demoing step by step how versions change as we move from features to releases.

    • @colebq
      @colebq 3 місяці тому

      There is a great article describing just that in detail. Search for continuousimprover and gitversion.

  • @radhikarathiram4863
    @radhikarathiram4863 2 роки тому

    How can azure and local have a different semver?

    • @cross7140
      @cross7140 2 роки тому

      they should not. it uses git history (both gits should be in), maybe if u have code that is committed and not yet pushed to the cloud, that could cause that issue

  • @larsthomasdenstad9082
    @larsthomasdenstad9082 2 роки тому

    It seems GitVersion doesn't work with monorepos, which makes it useless for my preferred way of handling my code. Too bad, looks interesting.

    • @gavingreenwood3880
      @gavingreenwood3880  2 роки тому

      What do u mean? Like having the repos all sync with one version? Cause keeping them separate and versioning each repo individually is the default behavior ?
      However i have add monorepos before and when there was a reason to sync up all the repos again, i had to tag/release on each repo.

    • @ivandamyanov8619
      @ivandamyanov8619 5 місяців тому

      @@gavingreenwood3880 I guess, or at least in my case, the scenario is where you have one repo that holds multiple related services which still have to have their own independent versions. In that case, you cannot give them independent versions with GitVersion.

  • @developer929
    @developer929 Рік тому

    Great video, terrible speaker :D