fix signing pipeline and use master in readme
This commit is contained in:
Родитель
6248229a1e
Коммит
67e37d4a1f
|
@ -48,7 +48,7 @@ In this directory, run AutoRest:
|
|||
``` yaml
|
||||
require:
|
||||
- $(this-folder)/../readme.azurestack.md
|
||||
- $(repo)/specification/azsadmin/resource-manager/backup/readme.azsautogen.md
|
||||
- $(repo)/specification/azsadmin/resource-manager/backup/readme.md
|
||||
|
||||
metadata:
|
||||
description: 'Microsoft AzureStack PowerShell: Backup Admin cmdlets'
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
``` yaml
|
||||
azure: true
|
||||
powershell: true
|
||||
branch: stackadmin
|
||||
branch: master
|
||||
repo: https://github.com/Azure/azure-rest-api-specs/tree/$(branch)
|
||||
metadata:
|
||||
authors: Microsoft Corporation
|
||||
|
|
|
@ -44,10 +44,13 @@ Write-Verbose -Message "Current path to check for unsigned files: ${pathToValida
|
|||
|
||||
################################# END EXTRACT NUPKG #################################
|
||||
|
||||
$exclude = @("Unprotect-SecureString.ps1")
|
||||
|
||||
if (Test-Path -Path $pathToValidate -PathType Container)
|
||||
{
|
||||
$fileInfos = Get-ChildItem -Path $pathToValidate -File -Recurse `
|
||||
| Where-Object { $_.Extension -iin @('.dll','.exe','.msi','.cab','.ps1','.psm1','.psd1','.pssc','.ps1xml') } `
|
||||
| Where-Object { $_.Name -notin $exclude }
|
||||
| Where-Object { $_.Extension -in @('.dll','.exe','.msi','.cab','.ps1','.psm1','.psd1','.pssc','.ps1xml') } `
|
||||
| Where-Object { $_.FullName -notlike $(Join-Path -Path "*${moduleName}" -ChildPath "test*") }
|
||||
}
|
||||
elseif (Test-Path -Path $pathToValidate -PathType Leaf)
|
||||
|
|
Загрузка…
Ссылка в новой задаче