diff --git a/CHANGELOG.md b/CHANGELOG.md index 63df71e..da7b4e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,3 +32,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Improve code to resolve ScriptAnalyzer warnings and errors. - Localize all the strings. +- Pipeline supports GitVersion v6.0.0. diff --git a/GitVersion.yml b/GitVersion.yml index 74197c2..e315290 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -4,20 +4,20 @@ major-version-bump-message: '(breaking\schange|breaking)\b' minor-version-bump-message: '(adds?|minor)\b' patch-version-bump-message: '\s?(fix|patch)' no-bump-message: '\+semver:\s?(none|skip)' -assembly-informational-format: '{NuGetVersionV2}+Sha.{Sha}.Date.{CommitDate}' +assembly-informational-format: '{FullSemVer}+Sha.{Sha}.Date.{CommitDate}' branches: master: - tag: preview + label: preview regex: ^main$ pull-request: - tag: PR + label: PR feature: - tag: useBranchName + label: useBranchName increment: Minor regex: f(eature(s)?)?[\/-] source-branches: ['master'] hotfix: - tag: fix + label: fix increment: Patch regex: (hot)?fix(es)?[\/-] source-branches: ['master'] diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ecfa873..8d91a40 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -46,7 +46,7 @@ stages: arguments: '-ResolveDependency -tasks pack' pwsh: true env: - ModuleVersion: $(NuGetVersionV2) + ModuleVersion: $(SemVer) - task: PublishPipelineArtifact@1 displayName: 'Publish Build Artifact' inputs: