mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Allow two-digit revisions in vPack package validation pattern (#18392)
This commit is contained in:
@@ -59,7 +59,7 @@ jobs:
|
||||
|
||||
- pwsh: |
|
||||
Get-ChildItem $(System.ArtifactsDirectory)\* -recurse -include *.zip, *.msi | ForEach-Object {
|
||||
if($_.Name -match 'PowerShell-\d\.\d\.\d\-([a-z]*.\d+\-)?win\-(${{ parameters.architecture }})\.(zip){1}')
|
||||
if($_.Name -match 'PowerShell-\d+\.\d+\.\d+\-([a-z]*.\d+\-)?win\-(${{ parameters.architecture }})\.(zip){1}')
|
||||
{
|
||||
$destDir = "$(System.ArtifactsDirectory)\vpack${{ parameters.architecture }}"
|
||||
$null = new-item -ItemType Directory -Path $destDir
|
||||
|
||||
Reference in New Issue
Block a user