Skip to content

Instantly share code, notes, and snippets.

@Philo
Created August 5, 2020 15:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Philo/4e396df9de6371fa82913433fa7b153d to your computer and use it in GitHub Desktop.
Save Philo/4e396df9de6371fa82913433fa7b153d to your computer and use it in GitHub Desktop.
For anyone using GitVersion with a main instead of master branch
assembly-versioning-scheme: MajorMinorPatchTag
assembly-file-versioning-scheme: MajorMinorPatchTag
assembly-informational-format: '{MajorMinorPatch}+{BranchName}+{ShortSha}'
mode: Mainline
branches:
release:
mode: ContinuousDelivery
tag: ''
master:
regex: (^master$|^origin\/master$|^main$|^origin\/main$)
mode: ContinuousDeployment
tag: ci
is-mainline: true
pull-request:
mode: ContinuousDeployment
tag: pr
hotfix:
mode: ContinuousDeployment
tag: fix
feature:
mode: ContinuousDeployment
tag: wip
ignore:
sha: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment