Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"gitversion.tool": {
"version": "5.12.0",
"version": "6.6.0",
"commands": [
"dotnet-gitversion"
]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v6.0.0
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v5.0.0
uses: actions/setup-dotnet@v5
Comment thread
AGiorgetti marked this conversation as resolved.
with:
dotnet-version: 10.0.x
- name: Install GitVersion
Expand Down
56 changes: 55 additions & 1 deletion GitVersion.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# GitVersion configuration for GitFlow workflow
# Uses semantic versioning with GitFlow branch conventions

mode: ContinuousDeployment
branches: {}

# Branch-specific configuration
branches:
main:
# Main branch produces stable releases without pre-release labels
label: ''
increment: Patch
Comment thread
AGiorgetti marked this conversation as resolved.
prevent-increment:
of-merged-branch: true

develop:
# Develop branch produces alpha pre-releases
mode: ContinuousDelivery
label: alpha
increment: Minor
tracks-release-branches: true

release:
# Release branches produce beta pre-releases
mode: ContinuousDelivery
label: beta
increment: None
prevent-increment:
of-merged-branch: true

feature:
# Feature branches use the branch name as label
mode: ContinuousDelivery
label: '{BranchName}'
increment: Inherit

hotfix:
# Hotfix branches produce beta pre-releases
mode: ContinuousDelivery
label: beta
increment: Patch

support:
# Support branches behave like main branches
label: ''
increment: Patch
Comment thread
AGiorgetti marked this conversation as resolved.
prevent-increment:
of-merged-branch: true

# Commit message patterns for version bumping
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)'
Comment thread
AGiorgetti marked this conversation as resolved.

# Ignore configuration
ignore:
sha: []

merge-message-formats: {}