From 77d44e11a8c8a098c98a9a0de7e92f6850cc3ac1 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Wed, 17 Jul 2024 18:49:28 +0200 Subject: [PATCH] Update pipeline (#474) --- CHANGELOG.md | 1 + .../ResolveDependencies.Integration.Tests.ps1 | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index deaa09e1..fb19e78a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Now if both ModuleFast and PowerShellGet compatibility module is configured PSResourceGet is automatically added as a dependency. This is for example needed for publishing built module to the gallery. +- Update pipeline so build not fail. ## [0.117.0] - 2023-09-29 diff --git a/tests/Integration/ResolveDependencies.Integration.Tests.ps1 b/tests/Integration/ResolveDependencies.Integration.Tests.ps1 index c049aaa6..892cbc96 100644 --- a/tests/Integration/ResolveDependencies.Integration.Tests.ps1 +++ b/tests/Integration/ResolveDependencies.Integration.Tests.ps1 @@ -116,8 +116,8 @@ Describe 'Resolve dependencies' { Parameters = @{} } - Pester = @{ - Version = '5.5.0-rc1' + PesterConverter = @{ + Version = '0.2.0-preview0007' Parameters = @{ AllowPrerelease = $true } @@ -148,10 +148,10 @@ Describe 'Resolve dependencies' { } It 'Should have resolve the correct pre-release version' { - $pesterModuleManifest = Import-PowerShellDataFile -Path '.\output\RequiredModules\Pester\**\Pester.psd1' + $pesterModuleManifest = Import-PowerShellDataFile -Path '.\output\RequiredModules\PesterConverter\**\PesterConverter.psd1' - $pesterModuleManifest.ModuleVersion | Should -Be '5.5.0' - $pesterModuleManifest.PrivateData.PSData.Prerelease | Should -Be 'rc1' + $pesterModuleManifest.ModuleVersion | Should -Be '0.2.0' + $pesterModuleManifest.PrivateData.PSData.Prerelease | Should -Be 'preview0007' } } }