From d68f7af2e06c01fe1e3c64e6455d7e07df3f1970 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sun, 27 Oct 2024 10:42:34 +0100 Subject: [PATCH] Update build pieline to pin GitVersion v5 (#531) --- CHANGELOG.md | 1 + azure-pipelines.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2252902a..39401b0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - CI Pipeline - Updated pipeline files to match current DSC Community patterns - fixes [Issue #528](https://github.com/dsccommunity/NetworkingDsc/issues/528). - Updated HQRM and build steps to use windows-latest image. + - Update build pieline to pin GitVersion v5. ## [9.0.0] - 2022-05-30 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 786f6930..7f5cd837 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -27,7 +27,7 @@ stages: vmImage: 'windows-latest' steps: - pwsh: | - dotnet tool install --global GitVersion.Tool + dotnet tool install --global GitVersion.Tool --version 5.* $gitVersionObject = dotnet-gitversion | ConvertFrom-Json $gitVersionObject.PSObject.Properties.ForEach{ Write-Host -Object "Setting Task Variable '$($_.Name)' with value '$($_.Value)'."