AIFotoOnlus/GitVersion.yml
MaddoScientisto 25f41c1513 Update CI to .NET 10, improve versioning and packaging
- Switch CI pipeline to use .NET 10.0 SDK images for build and publish jobs
- Set GIT_DEPTH=0 and fetch full git history for accurate versioning
- Refactor publish_nuget job to sanitize and inject GitVersion output into package version
- Downgrade GitVersion.MsBuild to 5.13.0 to match CLI tool version
- In csproj, set <Version> from sanitized GitVersion output with fallback
- Remove prevent-increment-of-merged-branch-version from GitVersion.yml for main/master
2026-02-15 18:42:35 +01:00

20 lines
No EOL
418 B
YAML

mode: ContinuousDelivery
branches:
main:
regex: ^main$
increment: Minor
track-merge-target: false
master:
regex: ^master$
increment: Minor
track-merge-target: false
feature:
regex: ^(?:feat(?:ure)?|feature)[/\\-]
increment: Minor
source-branches: ["main", "master"]
hotfix:
regex: ^hotfix[/\\-]
increment: Patch
ignore:
sha: []
commit-message-incrementing: Enabled