diff --git a/.pipelines/SecretStore-Official.yml b/.pipelines/SecretStore-Official.yml index d3d3b8c..deace21 100644 --- a/.pipelines/SecretStore-Official.yml +++ b/.pipelines/SecretStore-Official.yml @@ -78,10 +78,7 @@ extends: inputs: packageType: sdk useGlobalJson: true - - pwsh: | - Register-PSRepository -Name CFS -SourceLocation "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/nuget/v2" -InstallationPolicy Trusted - Install-Module -Repository CFS -Name Microsoft.PowerShell.PSResourceGet - ./tools/installPSResources.ps1 -PSRepository CFS + - pwsh: ./tools/installPSResources.ps1 -PSRepository CFS displayName: Install PSResources - pwsh: Invoke-Build -Configuration $(BuildConfiguration) -Task Build, Test displayName: Build diff --git a/tools/installPSResources.ps1 b/tools/installPSResources.ps1 index b58d20c..2197233 100644 --- a/tools/installPSResources.ps1 +++ b/tools/installPSResources.ps1 @@ -16,7 +16,7 @@ Install-PSResource -Verbose -TrustRepository -RequiredResource @{ InvokeBuild = @{ version = "5.12.1" repository = $PSRepository - } + } platyPS = @{ version = "0.14.2" repository = $PSRepository diff --git a/tools/updateVersion.ps1 b/tools/updateVersion.ps1 index be75435..3140f18 100644 --- a/tools/updateVersion.ps1 +++ b/tools/updateVersion.ps1 @@ -20,5 +20,4 @@ $f = $f -replace '^(?\s+)(.+)(?)$ $f | Set-Content -Path $Path git add $Path -git commit --edit --message v${Version}: $Changes" -" +git commit --edit --message "v${Version}: $Changes"