Skip to content

Commit

Permalink
Allow two-digit revisions in vPack package validation pattern (#18569)
Browse files Browse the repository at this point in the history
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
  • Loading branch information
github-actions[bot] and TravisEz13 committed Nov 17, 2022
1 parent 38877e5 commit 07ca0cd
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit 07ca0cd

Please sign in to comment.