Gitversion: difference between Continous Delivery/Deployment mode

Viewed 636
1 Answers

The main difference is how it affects the version number deployed:

  • with Continuous Delivery, GitVersion will build the same semantic version until that version is deployed. The version to deploy is known.
  • with Continuous Deployment, GitVersion will increment the pre-release tag on every commit, as described in the "Hijacking the pre-release tag" section.
    The version to deploy is unknown.
    That is why this mode is reserved for the develop branch only, meaning for the "vNext" (the "next" version, which could be a patch, minor or major one).
    That allows to auto-increment a build stamp (part of the version number)… on a yet unknown semantic version.
Related