Skip to content

Remove PowerShell <7.4 workaround from OneBranch #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .pipelines/SecretStore-Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/installPSResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Install-PSResource -Verbose -TrustRepository -RequiredResource @{
InvokeBuild = @{
version = "5.12.1"
repository = $PSRepository
}
}
platyPS = @{
version = "0.14.2"
repository = $PSRepository
Expand Down
3 changes: 1 addition & 2 deletions tools/updateVersion.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ $f = $f -replace '^(?<prefix>\s+<ModuleVersion>)(.+)(?<suffix></ModuleVersion>)$
$f | Set-Content -Path $Path
git add $Path

git commit --edit --message v${Version}: $Changes"
"
git commit --edit --message "v${Version}: $Changes"
Loading