Skip to content

Instantly share code, notes, and snippets.

@mocella
Created August 26, 2024 12:04
Show Gist options
  • Save mocella/8cd8673734dc37c27f70d2382ee4db4c to your computer and use it in GitHub Desktop.
Save mocella/8cd8673734dc37c27f70d2382ee4db4c to your computer and use it in GitHub Desktop.
Mainline Repo Gitversion Config
mode: Mainline
#
assembly-versioning-scheme: MajorMinorPatchTag
assembly-file-versioning-scheme: MajorMinorPatchTag
assembly-informational-format: '{InformationalVersion}'
#
major-version-bump-message: '\+semver:\s?(breaking|major)'
minor-version-bump-message: '\+semver:\s?(feature|minor)'
patch-version-bump-message: '\+semver:\s?(fix|patch)'
no-bump-message: '\+semver:\s?(none|skip)'
#
continuous-delivery-fallback-tag: ''
#
branches:
development:
increment: Minor
# Everything except main and master
regex: ^(?!(main|master)$)
source-branches:
- main
feature:
# Match nothing
regex: ^\b$
develop:
# Match nothing
regex: ^\b$
main:
regex: ^master$|^main$
increment: Minor
is-mainline: true
tag: ''
release:
# Match nothing
regex: ^\b$
pull-request:
# Match nothing
regex: ^\b$
hotfix:
# Match nothing
regex: ^\b$
support:
# Match nothing
regex: ^\b$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment